class Azure::CognitiveServices::LuisAuthoring::V2_0::Models::ApplicationPublishObject

Object model for publishing a specific application version.

Attributes

is_staging[RW]

@return [Boolean] Indicates if the staging slot should be used, instead of the Production one. Default value: false .

version_id[RW]

@return [String] The version ID to publish.

Public Class Methods

mapper() click to toggle source

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

# File lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_publish_object.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationPublishObject',
    type: {
      name: 'Composite',
      class_name: 'ApplicationPublishObject',
      model_properties: {
        version_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'versionId',
          type: {
            name: 'String'
          }
        },
        is_staging: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isStaging',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end