Class: GroupAccountSSHProvisionerConfig
- Inherits:
-
Object
- Object
- GroupAccountSSHProvisionerConfig
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/group_resource_profile_model_types.rb
Constant Summary collapse
- RESOURCEID =
1
- GROUPRESOURCEPROFILEID =
2
- CONFIGNAME =
3
- CONFIGVALUE =
4
- FIELDS =
{ RESOURCEID => {:type => ::Thrift::Types::STRING, :name => 'resourceId'}, GROUPRESOURCEPROFILEID => {:type => ::Thrift::Types::STRING, :name => 'groupResourceProfileId', :default => %q"DO_NOT_SET_AT_CLIENTS"}, CONFIGNAME => {:type => ::Thrift::Types::STRING, :name => 'configName'}, CONFIGVALUE => {:type => ::Thrift::Types::STRING, :name => 'configValue', :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
27 |
# File 'lib/group_resource_profile_model_types.rb', line 27 def struct_fields; FIELDS; end |
#validate ⇒ Object
29 30 31 32 33 |
# File 'lib/group_resource_profile_model_types.rb', line 29 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field resourceId is unset!') unless @resourceId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field groupResourceProfileId is unset!') unless @groupResourceProfileId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field configName is unset!') unless @configName end |