Class: UserStoragePreference
- Inherits:
-
Object
- Object
- UserStoragePreference
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/user_resource_profile_model_types.rb
Constant Summary collapse
- STORAGERESOURCEID =
1
- LOGINUSERNAME =
2
- FILESYSTEMROOTLOCATION =
3
- RESOURCESPECIFICCREDENTIALSTORETOKEN =
4
- FIELDS =
{ STORAGERESOURCEID => {:type => ::Thrift::Types::STRING, :name => 'storageResourceId'}, LOGINUSERNAME => {:type => ::Thrift::Types::STRING, :name => 'loginUserName', :optional => true}, FILESYSTEMROOTLOCATION => {:type => ::Thrift::Types::STRING, :name => 'fileSystemRootLocation', :optional => true}, RESOURCESPECIFICCREDENTIALSTORETOKEN => {:type => ::Thrift::Types::STRING, :name => 'resourceSpecificCredentialStoreToken', :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
94 |
# File 'lib/user_resource_profile_model_types.rb', line 94 def struct_fields; FIELDS; end |
#validate ⇒ Object
96 97 98 |
# File 'lib/user_resource_profile_model_types.rb', line 96 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field storageResourceId is unset!') unless @storageResourceId end |