lib/fastly/models/invoicelineitems.rb in fastly-8.2.0 vs lib/fastly/models/invoicelineitems.rb in fastly-8.4.0

- old
+ new

@@ -1,9 +1,9 @@ =begin #Fastly API -#Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/) +#Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://www.fastly.com/documentation/reference/api/) The version of the OpenAPI document: 1.0.0 Contact: oss@fastly.com =end @@ -32,10 +32,13 @@ attr_accessor :product_name # The broader classification of the product (e.g., `Compute` or `Full-Site Delivery`). attr_accessor :product_group + # The broader classification of the product (e.g., `Network Services` or `Security`). + attr_accessor :product_line + # The geographical area applicable for regionally based products. attr_accessor :region # The unit of measure (e.g., `requests` or `bandwidth`). attr_accessor :usage_type @@ -48,10 +51,11 @@ :'credit_coupon_code' => :'credit_coupon_code', :'rate' => :'rate', :'units' => :'units', :'product_name' => :'ProductName', :'product_group' => :'ProductGroup', + :'product_line' => :'ProductLine', :'region' => :'Region', :'usage_type' => :'UsageType' } end @@ -68,10 +72,11 @@ :'credit_coupon_code' => :'String', :'rate' => :'Float', :'units' => :'Float', :'product_name' => :'String', :'product_group' => :'String', + :'product_line' => :'String', :'region' => :'String', :'usage_type' => :'String' } end @@ -122,10 +127,14 @@ if attributes.key?(:'product_group') self.product_group = attributes[:'product_group'] end + if attributes.key?(:'product_line') + self.product_line = attributes[:'product_line'] + end + if attributes.key?(:'region') self.region = attributes[:'region'] end if attributes.key?(:'usage_type') @@ -156,10 +165,11 @@ credit_coupon_code == o.credit_coupon_code && rate == o.rate && units == o.units && product_name == o.product_name && product_group == o.product_group && + product_line == o.product_line && region == o.region && usage_type == o.usage_type end # @see the `==` method @@ -169,10 +179,10 @@ end # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [description, amount, credit_coupon_code, rate, units, product_name, product_group, region, usage_type].hash + [description, amount, credit_coupon_code, rate, units, product_name, product_group, product_line, region, usage_type].hash end # Builds the object from hash # @param [Hash] attributes Model attributes in the form of hash # @return [Object] Returns the model itself