Class: StackOne::Models::Shared::IamUpdateUserRequestDto
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::IamUpdateUserRequestDto
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/iamupdateuserrequestdto.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(first_name: nil, is_bot_user: nil, last_name: nil, name: nil, passthrough: nil, primary_email_address: nil, status: nil, username: nil) ⇒ IamUpdateUserRequestDto
constructor
A new instance of IamUpdateUserRequestDto.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(first_name: nil, is_bot_user: nil, last_name: nil, name: nil, passthrough: nil, primary_email_address: nil, status: nil, username: nil) ⇒ IamUpdateUserRequestDto
Returns a new instance of IamUpdateUserRequestDto.
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/stack_one/models/shared/iamupdateuserrequestdto.rb', line 33 def initialize(first_name: nil, is_bot_user: nil, last_name: nil, name: nil, passthrough: nil, primary_email_address: nil, status: nil, username: nil) @first_name = first_name @is_bot_user = is_bot_user @last_name = last_name @name = name @passthrough = passthrough @primary_email_address = primary_email_address @status = status @username = username end |
Instance Method Details
#==(other) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/stack_one/models/shared/iamupdateuserrequestdto.rb', line 45 def ==(other) return false unless other.is_a? self.class return false unless @first_name == other.first_name return false unless @is_bot_user == other.is_bot_user return false unless @last_name == other.last_name return false unless @name == other.name return false unless @passthrough == other.passthrough return false unless @primary_email_address == other.primary_email_address return false unless @status == other.status return false unless @username == other.username true end |