OpenAI::ProjectServiceAccountCreateResponse
Inherits JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(object : ProjectServiceAccountCreateResponseObject = ProjectServiceAccountCreateResponseObject::OrganizationProjectServiceAccount, id : String = "", name : String = "", role : ProjectServiceAccountCreateResponseRole = ProjectServiceAccountCreateResponseRole::Member, created_at : Int64 = 0, api_key : ProjectServiceAccountApiKey = ProjectServiceAccountApiKey.new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
api_key
Sourceapi_key=(api_key : ProjectServiceAccountApiKey)
Sourcecreated_at
Sourceid
Sourcename
Sourceobject
Sourceobject=(object : ProjectServiceAccountCreateResponseObject)
Sourcerole=(role : ProjectServiceAccountCreateResponseRole)
Service accounts can only have one role of type member