Class: Azure::ARM::Web::Models::CsmPublishingProfileOptions
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::CsmPublishingProfileOptions
- Includes:
- MsRestAzure
- Defined in:
- lib/azure_mgmt_web/models/csm_publishing_profile_options.rb
Overview
Publishing options for requested profile
Instance Attribute Summary collapse
-
#format ⇒ String
FileZilla3 WebDeploy – default Ftp.
Class Method Summary collapse
-
.deserialize_object(object) ⇒ CsmPublishingProfileOptions
Deserializes given Ruby Hash into Model object.
-
.serialize_object(object) ⇒ Hash
Serializes given Model object into Ruby Hash.
Instance Method Summary collapse
-
#validate ⇒ Object
Validate the object.
Instance Attribute Details
#format ⇒ String
FileZilla3 WebDeploy – default Ftp
19 20 21 |
# File 'lib/azure_mgmt_web/models/csm_publishing_profile_options.rb', line 19 def format @format end |
Class Method Details
.deserialize_object(object) ⇒ CsmPublishingProfileOptions
Deserializes given Ruby Hash into Model object.
48 49 50 51 52 53 54 55 56 |
# File 'lib/azure_mgmt_web/models/csm_publishing_profile_options.rb', line 48 def self.deserialize_object(object) return if object.nil? output_object = CsmPublishingProfileOptions.new deserialized_property = object['format'] output_object.format = deserialized_property output_object end |
.serialize_object(object) ⇒ Hash
Serializes given Model object into Ruby Hash.
33 34 35 36 37 38 39 40 41 |
# File 'lib/azure_mgmt_web/models/csm_publishing_profile_options.rb', line 33 def self.serialize_object(object) object.validate output_object = {} serialized_property = object.format output_object['format'] = serialized_property unless serialized_property.nil? output_object end |
Instance Method Details
#validate ⇒ Object
Validate the object. Throws ValidationError if validation fails.
24 25 26 |
# File 'lib/azure_mgmt_web/models/csm_publishing_profile_options.rb', line 24 def validate # Nothing to validate end |