Name | Type | Description | Notes |
---|---|---|---|
CreatedAt | Pointer to time.Time | [optional] [readonly] | |
CreatedBy | Pointer to string | [optional] [readonly] | |
CreatedByUrl | Pointer to string | [optional] [readonly] | |
Description | Pointer to string | The description of the service | [optional] |
Key | Pointer to string | The API key of the service | [optional] [readonly] |
KeyExpiresAt | Pointer to NullableTime | The time at which the API key will expire. This will only be populated if the Organization has an active API Key Policy. | [optional] [readonly] |
Name | string | The name of the service | |
Role | Pointer to string | The role of the service. | [optional] [default to "Member"] |
Slug | Pointer to string | The slug of the service | [optional] [readonly] |
Teams | Pointer to []ServiceTeams | [optional] |
func NewService(name string, ) *Service
NewService instantiates a new Service object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServiceWithDefaults() *Service
NewServiceWithDefaults instantiates a new Service object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *Service) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Service) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Service) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *Service) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *Service) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetCreatedBy(v string)
SetCreatedBy sets CreatedBy field to given value.
func (o *Service) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (o *Service) GetCreatedByUrl() string
GetCreatedByUrl returns the CreatedByUrl field if non-nil, zero value otherwise.
func (o *Service) GetCreatedByUrlOk() (*string, bool)
GetCreatedByUrlOk returns a tuple with the CreatedByUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetCreatedByUrl(v string)
SetCreatedByUrl sets CreatedByUrl field to given value.
func (o *Service) HasCreatedByUrl() bool
HasCreatedByUrl returns a boolean if a field has been set.
func (o *Service) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Service) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Service) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Service) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *Service) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetKey(v string)
SetKey sets Key field to given value.
func (o *Service) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *Service) GetKeyExpiresAt() time.Time
GetKeyExpiresAt returns the KeyExpiresAt field if non-nil, zero value otherwise.
func (o *Service) GetKeyExpiresAtOk() (*time.Time, bool)
GetKeyExpiresAtOk returns a tuple with the KeyExpiresAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetKeyExpiresAt(v time.Time)
SetKeyExpiresAt sets KeyExpiresAt field to given value.
func (o *Service) HasKeyExpiresAt() bool
HasKeyExpiresAt returns a boolean if a field has been set.
func (o *Service) SetKeyExpiresAtNil(b bool)
SetKeyExpiresAtNil sets the value for KeyExpiresAt to be an explicit nil
func (o *Service) UnsetKeyExpiresAt()
UnsetKeyExpiresAt ensures that no value is present for KeyExpiresAt, not even an explicit nil
func (o *Service) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Service) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetName(v string)
SetName sets Name field to given value.
func (o *Service) GetRole() string
GetRole returns the Role field if non-nil, zero value otherwise.
func (o *Service) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetRole(v string)
SetRole sets Role field to given value.
func (o *Service) HasRole() bool
HasRole returns a boolean if a field has been set.
func (o *Service) GetSlug() string
GetSlug returns the Slug field if non-nil, zero value otherwise.
func (o *Service) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetSlug(v string)
SetSlug sets Slug field to given value.
func (o *Service) HasSlug() bool
HasSlug returns a boolean if a field has been set.
func (o *Service) GetTeams() []ServiceTeams
GetTeams returns the Teams field if non-nil, zero value otherwise.
func (o *Service) GetTeamsOk() (*[]ServiceTeams, bool)
GetTeamsOk returns a tuple with the Teams field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetTeams(v []ServiceTeams)
SetTeams sets Teams field to given value.
func (o *Service) HasTeams() bool
HasTeams returns a boolean if a field has been set.