class Credentials::Models::VerificationPolicyRestriction

Model object.

Attributes

credential_definition_id[RW]

@return [String]

issuer_did[RW]

@return [String]

schema_id[RW]

@return [String]

schema_issuer_did[RW]

@return [String]

schema_name[RW]

@return [String]

schema_version[RW]

@return [String]

value[RW]

@return [VerificationPolicyRestrictionAttribute]

Public Class Methods

mapper() click to toggle source

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

# File lib/generated/credentials/models/verification_policy_restriction.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VerificationPolicyRestriction',
    type: {
      name: 'Composite',
      class_name: 'VerificationPolicyRestriction',
      model_properties: {
        schema_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'schemaId',
          type: {
            name: 'String'
          }
        },
        schema_issuer_did: {
          client_side_validation: true,
          required: false,
          serialized_name: 'schemaIssuerDid',
          type: {
            name: 'String'
          }
        },
        schema_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'schemaName',
          type: {
            name: 'String'
          }
        },
        schema_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'schemaVersion',
          type: {
            name: 'String'
          }
        },
        issuer_did: {
          client_side_validation: true,
          required: false,
          serialized_name: 'issuerDid',
          type: {
            name: 'String'
          }
        },
        credential_definition_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'credentialDefinitionId',
          type: {
            name: 'String'
          }
        },
        value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'value',
          type: {
            name: 'Composite',
            class_name: 'VerificationPolicyRestrictionAttribute'
          }
        }
      }
    }
  }
end