class

OpenAI::AssignedRoleDetails

Inherits JSON::Serializable < Reference < Object

Detailed information about a role assignment entry returned when listing assignments.

Constructors

new(id : String = "", name : String = "", permissions : Array(String) = [] of String, resource_type : String = "", predefined_role : Bool = false, description : AssignedRoleDetailsDescription = nil, created_at : AssignedRoleDetailsCreatedAt = nil, updated_at : AssignedRoleDetailsUpdatedAt = nil, created_by : AssignedRoleDetailsCreatedBy = nil, created_by_user_obj : AssignedRoleDetailsCreatedByUserObj = nil, metadata : AssignedRoleDetailsMetadata = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

created_at

When the role was created.

Source
created_at=(created_at : AssignedRoleDetailsCreatedAt)

When the role was created.

Source
created_by

Identifier of the actor who created the role.

Source
created_by=(created_by : AssignedRoleDetailsCreatedBy)

Identifier of the actor who created the role.

Source
created_by_user_obj

User details for the actor that created the role, when available.

Source
created_by_user_obj=(created_by_user_obj : AssignedRoleDetailsCreatedByUserObj)

User details for the actor that created the role, when available.

Source
description

Description of the role.

Source
description=(description : AssignedRoleDetailsDescription)

Description of the role.

Source
id

Identifier for the role.

Source
id=(id : String)

Identifier for the role.

Source
metadata

Arbitrary metadata stored on the role.

Source
metadata=(metadata : AssignedRoleDetailsMetadata)

Arbitrary metadata stored on the role.

Source
name

Name of the role.

Source
name=(name : String)

Name of the role.

Source
permissions

Permissions associated with the role.

Source
permissions=(permissions : Array(String))

Permissions associated with the role.

Source
predefined_role

Whether the role is predefined by OpenAI.

Source
predefined_role=(predefined_role : Bool)

Whether the role is predefined by OpenAI.

Source
resource_type

Resource type the role applies to.

Source
resource_type=(resource_type : String)

Resource type the role applies to.

Source
updated_at

When the role was last updated.

Source
updated_at=(updated_at : AssignedRoleDetailsUpdatedAt)

When the role was last updated.

Source