Class: StackOne::Models::Operations::QueryParamFilter
- Inherits:
-
Object
- Object
- StackOne::Models::Operations::QueryParamFilter
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/operations/queryparam_filter.rb
Overview
Filter parameters that allow greater customisation of the list response
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account_ids: nil, actions: nil, child_resources: nil, end_date: nil, http_methods: nil, order_by: nil, order_direction: nil, providers: nil, request_ids: nil, resources: nil, services: nil, source_ids: nil, source_types: nil, source_values: nil, start_date: nil, status_codes: nil, sub_resources: nil, success: nil) ⇒ QueryParamFilter
constructor
A new instance of QueryParamFilter.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(account_ids: nil, actions: nil, child_resources: nil, end_date: nil, http_methods: nil, order_by: nil, order_direction: nil, providers: nil, request_ids: nil, resources: nil, services: nil, source_ids: nil, source_types: nil, source_values: nil, start_date: nil, status_codes: nil, sub_resources: nil, success: nil) ⇒ QueryParamFilter
Returns a new instance of QueryParamFilter.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/stack_one/models/operations/queryparam_filter.rb', line 53 def initialize(account_ids: nil, actions: nil, child_resources: nil, end_date: nil, http_methods: nil, order_by: nil, order_direction: nil, providers: nil, request_ids: nil, resources: nil, services: nil, source_ids: nil, source_types: nil, source_values: nil, start_date: nil, status_codes: nil, sub_resources: nil, success: nil) @account_ids = account_ids @actions = actions @child_resources = child_resources @end_date = end_date @http_methods = http_methods @order_by = order_by @order_direction = order_direction @providers = providers @request_ids = request_ids @resources = resources @services = services @source_ids = source_ids @source_types = source_types @source_values = source_values @start_date = start_date @status_codes = status_codes @sub_resources = sub_resources @success = success end |
Instance Method Details
#==(other) ⇒ Object
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/stack_one/models/operations/queryparam_filter.rb', line 75 def ==(other) return false unless other.is_a? self.class return false unless @account_ids == other.account_ids return false unless @actions == other.actions return false unless @child_resources == other.child_resources return false unless @end_date == other.end_date return false unless @http_methods == other.http_methods return false unless @order_by == other.order_by return false unless @order_direction == other.order_direction return false unless @providers == other.providers return false unless @request_ids == other.request_ids return false unless @resources == other.resources return false unless @services == other.services return false unless @source_ids == other.source_ids return false unless @source_types == other.source_types return false unless @source_values == other.source_values return false unless @start_date == other.start_date return false unless @status_codes == other.status_codes return false unless @sub_resources == other.sub_resources return false unless @success == other.success true end |