class Azure::Confluent::Mgmt::V2020_03_01::Models::ConfluentAgreementResource

Confluent Agreements Resource.

Attributes

accepted[RW]

@return [Boolean] If any version of the terms have been accepted, otherwise false.

id[RW]

@return [String] ARM id of the resource.

name[RW]

@return [String] Name of the agreement.

plan[RW]

@return [String] Plan identifier string.

product[RW]

@return [String] Product identifier string.

publisher[RW]

@return [String] Publisher identifier string.

retrieve_datetime[RW]

@return [DateTime] Date and time in UTC of when the terms were accepted. This is empty if Accepted is false.

signature[RW]

@return [String] Terms signature.

type[RW]

@return [String] The type of the resource.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-03-01/generated/azure_mgmt_confluent/models/confluent_agreement_resource.rb, line 55
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConfluentAgreementResource',
    type: {
      name: 'Composite',
      class_name: 'ConfluentAgreementResource',
      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'
          }
        },
        publisher: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.publisher',
          type: {
            name: 'String'
          }
        },
        product: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.product',
          type: {
            name: 'String'
          }
        },
        plan: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.plan',
          type: {
            name: 'String'
          }
        },
        license_text_link: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.licenseTextLink',
          type: {
            name: 'String'
          }
        },
        privacy_policy_link: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.privacyPolicyLink',
          type: {
            name: 'String'
          }
        },
        retrieve_datetime: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.retrieveDatetime',
          type: {
            name: 'DateTime'
          }
        },
        signature: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.signature',
          type: {
            name: 'String'
          }
        },
        accepted: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.accepted',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end