class
DeepL::ApiKey
- DeepL::ApiKey
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
deepl/v2/admin.crConstructors
- .new(key_id : String, label : String, creation_time : Time, deactivated_time : Time | Nil = nil, is_deactivated : Bool = false, usage_limits : Nil | DeepL::ApiKeyUsageLimits = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #creation_time : Time
- #creation_time=(creation_time : Time)
- #deactivated_time : Time | Nil
- #deactivated_time=(deactivated_time : Time | Nil)
- #is_deactivated : Bool
- #is_deactivated=(is_deactivated : Bool)
- #key_id : String
- #key_id=(key_id : String)
- #label : String
- #label=(label : String)
- #usage_limits : ApiKeyUsageLimits | Nil
- #usage_limits=(usage_limits : ApiKeyUsageLimits | Nil)
Constructor Detail
def self.new(key_id : String, label : String, creation_time : Time, deactivated_time : Time | Nil = nil, is_deactivated : Bool = false, usage_limits : Nil | DeepL::ApiKeyUsageLimits = nil)
#