class Azure::EventHub::Mgmt::V2014_09_01::Models::ConsumerGroupCreateOrUpdateParameters

Parameters supplied to the Create Or Update Consumer Group operation.

Attributes

created_at[RW]

@return [DateTime] Exact time the message was created.

event_hub_path[RW]

@return [String] The path of the Event Hub.

location[RW]

@return [String] Location of the resource.

name[RW]

@return [String] Name of the consumer group.

type[RW]

@return [String] ARM type of the Namespace.

updated_at[RW]

@return [DateTime] The exact time the message was updated.

user_metadata[RW]

@return [String] The user metadata.

Public Class Methods

mapper() click to toggle source

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

# File lib/2014-09-01/generated/azure_mgmt_event_hub/models/consumer_group_create_or_update_parameters.rb, line 41
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConsumerGroupCreateOrUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'ConsumerGroupCreateOrUpdateParameters',
      model_properties: {
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        created_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdAt',
          type: {
            name: 'DateTime'
          }
        },
        event_hub_path: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.eventHubPath',
          type: {
            name: 'String'
          }
        },
        updated_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.updatedAt',
          type: {
            name: 'DateTime'
          }
        },
        user_metadata: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.userMetadata',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end