Skip to content

Commit

Permalink
fix group owner
Browse files Browse the repository at this point in the history
Signed-off-by: Tien Nguyen <[email protected]>
  • Loading branch information
duytiennguyen-okta committed Sep 6, 2024
1 parent fd2594e commit 5734741
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38068,7 +38068,7 @@ components:
lastUpdated:
description: Timestamp when the group owner was last updated
type: string
format: date-time
pattern: ^\w{3} \w{3} \d{2} \d{2}:\d{2}:\d{2} \w{3} \d{4}$
readOnly: true
originId:
description: The ID of the app instance if the `originType` is `APPLICATION`. This value is `NULL` if `originType` is `OKTA_DIRECTORY`.
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Changelog
Running changelog of releases since `2.0.0-rc.4`

## v5.0.2
- Fix unmarshalling error for Group owner object lastUpdated (#484) Thanks [@duytiennguyen-okta]

## v5.0.1
- Fix object that does not have additional properties (#466) Thanks [@duytiennguyen-okta]
- Fix unmarshalling error for Log object that does not have additional properties (#484) Thanks [@duytiennguyen-okta]

## v5.0.0
- Update newest spec (#463) Thanks [@duytiennguyen-okta]
Expand Down
4 changes: 2 additions & 2 deletions okta/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58621,7 +58621,7 @@ components:
type: object
GroupOwner:
example:
lastUpdated: 2000-01-23T04:56:07.000+00:00
lastUpdated: lastUpdated
originType: originType
originId: originId
displayName: displayName
Expand All @@ -58638,7 +58638,7 @@ components:
type: string
lastUpdated:
description: Timestamp when the group owner was last updated
format: date-time
pattern: "^\\w{3} \\w{3} \\d{2} \\d{2}:\\d{2}:\\d{2} \\w{3} \\d{4}$"
readOnly: true
type: string
originId:
Expand Down
8 changes: 4 additions & 4 deletions okta/docs/GroupOwner.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**DisplayName** | Pointer to **string** | The display name of the group owner | [optional] [readonly]
**Id** | Pointer to **string** | The &#x60;id&#x60; of the group owner | [optional]
**LastUpdated** | Pointer to **time.Time** | Timestamp when the group owner was last updated | [optional] [readonly]
**LastUpdated** | Pointer to **string** | Timestamp when the group owner was last updated | [optional] [readonly]
**OriginId** | Pointer to **string** | The ID of the app instance if the &#x60;originType&#x60; is &#x60;APPLICATION&#x60;. This value is &#x60;NULL&#x60; if &#x60;originType&#x60; is &#x60;OKTA_DIRECTORY&#x60;. | [optional]
**OriginType** | Pointer to **string** | The source where group ownership is managed | [optional]
**Resolved** | Pointer to **bool** | If &#x60;originType&#x60;is APPLICATION, this parameter is set to &#x60;FALSE&#x60; until the owner’s &#x60;originId&#x60; is reconciled with an associated Okta ID. | [optional]
Expand Down Expand Up @@ -83,20 +83,20 @@ HasId returns a boolean if a field has been set.

### GetLastUpdated

`func (o *GroupOwner) GetLastUpdated() time.Time`
`func (o *GroupOwner) GetLastUpdated() string`

GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.

### GetLastUpdatedOk

`func (o *GroupOwner) GetLastUpdatedOk() (*time.Time, bool)`
`func (o *GroupOwner) GetLastUpdatedOk() (*string, bool)`

GetLastUpdatedOk returns a tuple with the LastUpdated field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetLastUpdated

`func (o *GroupOwner) SetLastUpdated(v time.Time)`
`func (o *GroupOwner) SetLastUpdated(v string)`

SetLastUpdated sets LastUpdated field to given value.

Expand Down
13 changes: 6 additions & 7 deletions okta/model_group_owner.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5734741

Please sign in to comment.