Method: VoucherifySdk::ParameterFiltersListPublications#initialize
- Defined in:
- lib/VoucherifySdk/models/parameter_filters_list_publications.rb
#initialize(attributes = {}) ⇒ ParameterFiltersListPublications
Initializes the object
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/VoucherifySdk/models/parameter_filters_list_publications.rb', line 114 def initialize(attributes = {}) # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } if attributes.key?(:'junction') self.junction = attributes[:'junction'] end if attributes.key?(:'failure_code') self.failure_code = attributes[:'failure_code'] end if attributes.key?(:'result') self.result = attributes[:'result'] end if attributes.key?(:'customer_id') self.customer_id = attributes[:'customer_id'] end if attributes.key?(:'campaign_name') self.campaign_name = attributes[:'campaign_name'] end if attributes.key?(:'voucher_type') self.voucher_type = attributes[:'voucher_type'] end if attributes.key?(:'is_referral_code') self.is_referral_code = attributes[:'is_referral_code'] end if attributes.key?(:'parent_object_id') self.parent_object_id = attributes[:'parent_object_id'] end if attributes.key?(:'related_object_id') self. = attributes[:'related_object_id'] end if attributes.key?(:'source_id') self.source_id = attributes[:'source_id'] end end |