class Azure::MixedReality::Mgmt::V2020_04_06_preview::Models::Plan

Plan for the resource.

Attributes

name[RW]

@return [String] A user defined name of the 3rd Party Artifact that is being procured.

product[RW]

@return [String] The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.

promotion_code[RW]

@return [String] A publisher provided promotion code as provisioned in Data Market for the said product/artifact.

publisher[RW]

@return [String] The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic

version[RW]

@return [String] The version of the desired product/artifact.

Private Class Methods

mapper() click to toggle source

Mapper for Plan class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/plan.rb, line 40
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: false,
          serialized_name: 'version',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end