# 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::KeyVault::V7_2_preview module Models # # The secret set parameters. # class SecretSetParameters include MsRestAzure # @return [String] The value of the secret. attr_accessor :value # @return [Hash{String => String}] Application specific metadata in the # form of key-value pairs. attr_accessor :tags # @return [String] Type of the secret value such as a password. attr_accessor :content_type # @return [SecretAttributes] The secret management attributes. attr_accessor :secret_attributes # # Mapper for SecretSetParameters class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SecretSetParameters', type: { name: 'Composite', class_name: 'SecretSetParameters', model_properties: { value: { client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, content_type: { client_side_validation: true, required: false, serialized_name: 'contentType', type: { name: 'String' } }, secret_attributes: { client_side_validation: true, required: false, serialized_name: 'attributes', type: { name: 'Composite', class_name: 'SecretAttributes' } } } } } end end end end