# 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::Confluent::Mgmt::V2020_03_01
  module Models
    #
    # Confluent offer detail
    #
    class OrganizationResourcePropertiesOfferDetail < OfferDetail

      include MsRestAzure


      #
      # Mapper for OrganizationResourcePropertiesOfferDetail class as Ruby
      # Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'OrganizationResourceProperties_offerDetail',
          type: {
            name: 'Composite',
            class_name: 'OrganizationResourcePropertiesOfferDetail',
            model_properties: {
              publisher_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'publisherId',
                constraints: {
                  MaxLength: 50
                },
                type: {
                  name: 'String'
                }
              },
              id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'id',
                constraints: {
                  MaxLength: 50
                },
                type: {
                  name: 'String'
                }
              },
              plan_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'planId',
                constraints: {
                  MaxLength: 50
                },
                type: {
                  name: 'String'
                }
              },
              plan_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'planName',
                constraints: {
                  MaxLength: 50
                },
                type: {
                  name: 'String'
                }
              },
              term_unit: {
                client_side_validation: true,
                required: false,
                serialized_name: 'termUnit',
                constraints: {
                  MaxLength: 25
                },
                type: {
                  name: 'String'
                }
              },
              status: {
                client_side_validation: true,
                required: false,
                serialized_name: 'status',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
