# 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::Web::Mgmt::V2020_09_01 module Models # # Preview for the Static Site Workflow to be generated # class StaticSitesWorkflowPreview < ProxyOnlyResource include MsRestAzure # @return [String] The path for the workflow file to be generated attr_accessor :path # @return [String] The contents for the workflow file to be generated attr_accessor :contents # # Mapper for StaticSitesWorkflowPreview class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StaticSitesWorkflowPreview', type: { name: 'Composite', class_name: 'StaticSitesWorkflowPreview', 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' } }, kind: { client_side_validation: true, required: false, serialized_name: 'kind', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, system_data: { client_side_validation: true, required: false, serialized_name: 'systemData', type: { name: 'Composite', class_name: 'SystemData' } }, path: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.path', type: { name: 'String' } }, contents: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.contents', type: { name: 'String' } } } } } end end end end