# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::IotCentral::Mgmt::V2018_09_01 module Models # # The description of the IoT Central application. # class AppPatch include MsRestAzure # @return [Hash{String => String}] Instance tags attr_accessor :tags # @return [AppSkuInfo] A valid instance SKU. attr_accessor :sku # @return [String] The ID of the application. attr_accessor :application_id # @return [String] The display name of the application. attr_accessor :display_name # @return [String] The subdomain of the application. attr_accessor :subdomain # @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. attr_accessor :template # # Mapper for AppPatch class as Ruby Hash. # This will be used for serialization/deserialization. # 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' } } } }, sku: { client_side_validation: true, required: false, serialized_name: 'sku', type: { name: 'Composite', class_name: 'AppSkuInfo' } }, 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', type: { name: 'String' } }, subdomain: { client_side_validation: true, required: false, serialized_name: 'properties.subdomain', type: { name: 'String' } }, template: { client_side_validation: true, required: false, serialized_name: 'properties.template', type: { name: 'String' } } } } } end end end end