# 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::NotificationHubs::Mgmt::V2017_04_01 module Models # # Parameters supplied to the patch NotificationHub operation. # class NotificationHubPatchParameters < Resource include MsRestAzure # @return [String] The NotificationHub name. attr_accessor :notification_hub_patch_parameters_name # @return [String] The RegistrationTtl of the created NotificationHub attr_accessor :registration_ttl # @return [Array] The # AuthorizationRules of the created NotificationHub attr_accessor :authorization_rules # @return [ApnsCredential] The ApnsCredential of the created # NotificationHub attr_accessor :apns_credential # @return [WnsCredential] The WnsCredential of the created # NotificationHub attr_accessor :wns_credential # @return [GcmCredential] The GcmCredential of the created # NotificationHub attr_accessor :gcm_credential # @return [MpnsCredential] The MpnsCredential of the created # NotificationHub attr_accessor :mpns_credential # @return [AdmCredential] The AdmCredential of the created # NotificationHub attr_accessor :adm_credential # @return [BaiduCredential] The BaiduCredential of the created # NotificationHub attr_accessor :baidu_credential # # Mapper for NotificationHubPatchParameters class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NotificationHubPatchParameters', type: { name: 'Composite', class_name: 'NotificationHubPatchParameters', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, 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: 'Sku' } }, notification_hub_patch_parameters_name: { client_side_validation: true, required: false, serialized_name: 'properties.name', type: { name: 'String' } }, registration_ttl: { client_side_validation: true, required: false, serialized_name: 'properties.registrationTtl', type: { name: 'String' } }, authorization_rules: { client_side_validation: true, required: false, serialized_name: 'properties.authorizationRules', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SharedAccessAuthorizationRulePropertiesElementType', type: { name: 'Composite', class_name: 'SharedAccessAuthorizationRuleProperties' } } } }, apns_credential: { client_side_validation: true, required: false, serialized_name: 'properties.apnsCredential', type: { name: 'Composite', class_name: 'ApnsCredential' } }, wns_credential: { client_side_validation: true, required: false, serialized_name: 'properties.wnsCredential', type: { name: 'Composite', class_name: 'WnsCredential' } }, gcm_credential: { client_side_validation: true, required: false, serialized_name: 'properties.gcmCredential', type: { name: 'Composite', class_name: 'GcmCredential' } }, mpns_credential: { client_side_validation: true, required: false, serialized_name: 'properties.mpnsCredential', type: { name: 'Composite', class_name: 'MpnsCredential' } }, adm_credential: { client_side_validation: true, required: false, serialized_name: 'properties.admCredential', type: { name: 'Composite', class_name: 'AdmCredential' } }, baidu_credential: { client_side_validation: true, required: false, serialized_name: 'properties.baiduCredential', type: { name: 'Composite', class_name: 'BaiduCredential' } } } } } end end end end