class Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopicType

Properties of a partner topic type.

Attributes

authorization_state[RW]

@return [PartnerTopicTypeAuthorizationState] Status of whether the customer has authorized a partner to create partner topics in the customer's subscription. Possible values include: 'NotApplicable', 'NotAuthorized', 'Authorized'

description[RW]

@return [String] Description of the partner topic type.

display_name[RW]

@return [String] Display Name for the partner topic type.

partner_name[RW]

@return [String] Official name of the partner.

setup_uri[RW]

@return [String] URI of the partner website that can be used by Azure customers to setup Event Grid integration on an event source.

topic_type_name[RW]

@return [String] Name of the partner topic type. This name should be unique among all partner topic types names.

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_type.rb, line 44
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PartnerTopicType',
    type: {
      name: 'Composite',
      class_name: 'PartnerTopicType',
      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'
          }
        },
        partner_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.partnerName',
          type: {
            name: 'String'
          }
        },
        topic_type_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.topicTypeName',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.displayName',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        setup_uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.setupUri',
          type: {
            name: 'String'
          }
        },
        authorization_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.authorizationState',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end