Class: Saklient::Cloud::Resources::License
- Inherits:
-
Resource
- Object
- Resource
- Saklient::Cloud::Resources::License
- Defined in:
- lib/saklient/cloud/resources/license.rb
Overview
ライセンスの実体1つに対応し, 属性の取得や操作を行うためのクラス.
Instance Attribute Summary (collapse)
-
- (String) id
readonly
ID.
-
- (LicenseInfo) info
ライセンス種別情報.
-
- (String) name
名前.
Instance Method Summary (collapse)
-
- (License) reload
最新のリソース情報を再取得します.
-
- (License) save
このローカルオブジェクトに現在設定されているリソース情報をAPIに送信し, 新規作成または上書き保存します.
Instance Attribute Details
- (String) id (readonly)
ID
109 110 111 |
# File 'lib/saklient/cloud/resources/license.rb', line 109 def id @id end |
- (LicenseInfo) info
ライセンス種別情報
186 187 188 |
# File 'lib/saklient/cloud/resources/license.rb', line 186 def info @info end |
- (String) name
名前
145 146 147 |
# File 'lib/saklient/cloud/resources/license.rb', line 145 def name @name end |
Instance Method Details
- (License) reload
最新のリソース情報を再取得します.
76 77 78 |
# File 'lib/saklient/cloud/resources/license.rb', line 76 def reload return _reload end |
- (License) save
このローカルオブジェクトに現在設定されているリソース情報をAPIに送信し, 新規作成または上書き保存します.
69 70 71 |
# File 'lib/saklient/cloud/resources/license.rb', line 69 def save return _save end |