class Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::AppPatch

The description of the IoT Central application.

Attributes

application_id[RW]

@return [String] The ID of the application.

display_name[RW]

@return [String] The display name of the application.

subdomain[RW]

@return [String] The subdomain of the application.

tags[RW]

@return [Hash{String => String}] Instance tags

template[RW]

@return [String] The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/app_patch.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AppPatch',
    type: {
      name: 'Composite',
      class_name: 'AppPatch',
      model_properties: {
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        application_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.applicationId',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.displayName',
          constraints: {
            Pattern: '^.{1,200}$'
          },
          type: {
            name: 'String'
          }
        },
        subdomain: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.subdomain',
          constraints: {
            Pattern: '^[a-z0-9-]{1,63}$'
          },
          type: {
            name: 'String'
          }
        },
        template: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.template',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end