Skip to main content

CreateObjectRequest Constructors

An object defining constructors for the CreateObjectRequest class.

CreateObjectRequest()

Initializes a new instance of the CreateObjectRequest class.


CreateObjectRequest(name, description, createdBy, createdAt)

Initializes a new instance of the CreateObjectRequest class with the specified details.

Parameters:

name (required): Dictionary<string, string>
The name of the object in multiple languages.

description (required): Dictionary<string, string>
The description of the object in multiple languages.

createdBy (optional): long?
The identifier of the user who created the object.

createdAt (optional): DateTimeOffset?
The date and time when the object was created.

Sets the properties Name, Description, CreatedBy, and CreatedAt to the provided values.


CreateObjectRequest()

Initializes a new instance of the CreateObjectRequest class.

Provides a default constructor for creating instances of the CreateObjectRequest class.


CreateObjectRequest(name, description)

Initializes a new instance of the CreateObjectRequest class with the specified name and description.

Parameters:

name (required): Dictionary<string, string>
The name of the object in multiple languages.

description (required): Dictionary<string, string>
The description of the object in multiple languages.

Sets the properties Name and Description to the provided values, with default values for CreatedBy and CreatedAt.