Skip to content

Commit

Permalink
Merge pull request #486 from okta/OKTA-801741-group-owner
Browse files Browse the repository at this point in the history
fix group owner
  • Loading branch information
duytiennguyen-okta authored Sep 6, 2024
2 parents fd2594e + 5734741 commit 242e0c8
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 `id` 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 `originType` is `APPLICATION`. This value is `NULL` if `originType` is `OKTA_DIRECTORY`. | [optional]
**OriginType** | Pointer to **string** | The source where group ownership is managed | [optional]
**Resolved** | Pointer to **bool** | If `originType`is APPLICATION, this parameter is set to `FALSE` until the owner’s `originId` 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 242e0c8

Please sign in to comment.