Sha256: c224db8601dee6d71b684f85fe59e63f341533bba8c4907684dec35890e689c0
Contents?: true
Size: 1.73 KB
Versions: 4
Compression:
Stored size: 1.73 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Compute module Models # # Plan for the resource. # class Plan include MsRestAzure # @return [String] the plan ID. attr_accessor :name # @return [String] the publisher ID. attr_accessor :publisher # @return [String] the offer ID. attr_accessor :product # @return [String] the promotion code. attr_accessor :promotion_code # # Mapper for Plan class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'Plan', type: { name: 'Composite', class_name: 'Plan', model_properties: { name: { required: false, serialized_name: 'name', type: { name: 'String' } }, publisher: { required: false, serialized_name: 'publisher', type: { name: 'String' } }, product: { required: false, serialized_name: 'product', type: { name: 'String' } }, promotion_code: { required: false, serialized_name: 'promotionCode', type: { name: 'String' } } } } } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems