Class: CldProvisioning::Models::Operations::CreateRoleRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/cld_provisioning/models/operations/createrole_request.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(create_role:, account_id: nil) ⇒ CreateRoleRequest

Returns a new instance of CreateRoleRequest.



25
26
27
28
# File 'lib/cld_provisioning/models/operations/createrole_request.rb', line 25

def initialize(create_role:, account_id: nil)
  @create_role = create_role
  @account_id = 
end

Instance Method Details

#==(other) ⇒ Object



31
32
33
34
35
36
# File 'lib/cld_provisioning/models/operations/createrole_request.rb', line 31

def ==(other)
  return false unless other.is_a?(self.class)
  return false unless @create_role == other.create_role
  return false unless @account_id == other.
  true
end