Class: Openlayer::Models::Workspaces::InviteListResponse::Item::Creator

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openlayer/models/workspaces/invite_list_response.rb,
sig/openlayer/models/workspaces/invite_list_response.rbs

Overview

See Also:

  • Openlayer::Models::Workspaces::InviteListResponse::Item#creator

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initializeObject



77
# File 'sig/openlayer/models/workspaces/invite_list_response.rbs', line 77

def initialize: (

Instance Attribute Details

#idString? (readonly)

Returns the value of attribute id.

Returns:

  • (String, nil)


73
74
75
# File 'sig/openlayer/models/workspaces/invite_list_response.rbs', line 73

def id
  @id
end

#nameString?

The invite creator name.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


81
# File 'lib/openlayer/models/workspaces/invite_list_response.rb', line 81

optional :name, String, nil?: true

#usernameString?

The invite creator username.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


87
# File 'lib/openlayer/models/workspaces/invite_list_response.rb', line 87

optional :username, String, nil?: true

Instance Method Details

#id=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


75
# File 'sig/openlayer/models/workspaces/invite_list_response.rbs', line 75

def id=: (String) -> String

#to_hash{ id: String, name: String?, username: String? }

Returns:

  • ({ id: String, name: String?, username: String? })


83
# File 'sig/openlayer/models/workspaces/invite_list_response.rbs', line 83

def to_hash: -> { id: String, name: String?, username: String? }