packer-cn/vendor/github.com/hyperonecom/h1-client-go/model_auth_token.go

27 lines
772 B
Go
Raw Normal View History

/*
* HyperOne API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* API version: 0.0.2
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package openapi
import (
"time"
)
// AuthToken struct for AuthToken
type AuthToken struct {
Id string `json:"id,omitempty"`
Expiry time.Time `json:"expiry,omitempty"`
CreatedBy string `json:"createdBy,omitempty"`
CreatedOn time.Time `json:"createdOn,omitempty"`
Access []AuthTokenAccess `json:"access,omitempty"`
Name string `json:"name,omitempty"`
ClientIp string `json:"clientIp,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
}