Class: CldProvisioning::Models::Operations::GetCustomPoliciesRequest
- Inherits:
-
Object
- Object
- CldProvisioning::Models::Operations::GetCustomPoliciesRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/cld_provisioning/models/operations/getcustompolicies_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account_id: nil, scope_type: nil, scope_id: nil, cursor: nil, enabled: nil) ⇒ GetCustomPoliciesRequest
constructor
A new instance of GetCustomPoliciesRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(account_id: nil, scope_type: nil, scope_id: nil, cursor: nil, enabled: nil) ⇒ GetCustomPoliciesRequest
Returns a new instance of GetCustomPoliciesRequest.
58 59 60 61 62 63 64 |
# File 'lib/cld_provisioning/models/operations/getcustompolicies_request.rb', line 58 def initialize(account_id: nil, scope_type: nil, scope_id: nil, cursor: nil, enabled: nil) @account_id = account_id @scope_type = scope_type @scope_id = scope_id @cursor = cursor @enabled = enabled end |
Instance Method Details
#==(other) ⇒ Object
67 68 69 70 71 72 73 74 75 |
# File 'lib/cld_provisioning/models/operations/getcustompolicies_request.rb', line 67 def ==(other) return false unless other.is_a?(self.class) return false unless @account_id == other.account_id return false unless @scope_type == other.scope_type return false unless @scope_id == other.scope_id return false unless @cursor == other.cursor return false unless @enabled == other.enabled true end |