class Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Plan
Plan
for the managed application.
Attributes
name[RW]
@return [String] The plan name.
product[RW]
@return [String] The product code.
promotion_code[RW]
@return [String] The promotion code.
publisher[RW]
@return [String] The publisher ID.
version[RW]
@return [String] The plan's version.
Private Class Methods
mapper()
click to toggle source
Mapper for Plan
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-06-01/generated/azure_mgmt_managed_applications/models/plan.rb, line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Plan', type: { name: 'Composite', class_name: 'Plan', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, publisher: { client_side_validation: true, required: true, serialized_name: 'publisher', type: { name: 'String' } }, product: { client_side_validation: true, required: true, serialized_name: 'product', type: { name: 'String' } }, promotion_code: { client_side_validation: true, required: false, serialized_name: 'promotionCode', type: { name: 'String' } }, version: { client_side_validation: true, required: true, serialized_name: 'version', type: { name: 'String' } } } } } end