Class: CldProvisioning::Models::Operations::GetRoleRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(role_id:, account_id: nil, folder_id: nil, asset_id: nil, collection_id: nil, param_key: nil, param_value: nil) ⇒ GetRoleRequest

Returns a new instance of GetRoleRequest.



70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# File 'lib/cld_provisioning/models/operations/getrole_request.rb', line 70

def initialize(
  role_id:,
  account_id: nil,
  folder_id: nil,
  asset_id: nil,
  collection_id: nil,
  param_key: nil,
  param_value: nil
)
  @role_id = role_id
  @account_id = 
  @folder_id = folder_id
  @asset_id = asset_id
  @collection_id = collection_id
  @param_key = param_key
  @param_value = param_value
end

Instance Method Details

#==(other) ⇒ Object



89
90
91
92
93
94
95
96
97
98
99
# File 'lib/cld_provisioning/models/operations/getrole_request.rb', line 89

def ==(other)
  return false unless other.is_a?(self.class)
  return false unless @role_id == other.role_id
  return false unless @account_id == other.
  return false unless @folder_id == other.folder_id
  return false unless @asset_id == other.asset_id
  return false unless @collection_id == other.collection_id
  return false unless @param_key == other.param_key
  return false unless @param_value == other.param_value
  true
end