Rename root, api and sdk module paths (imports, go.mod, go_package, ldflags, build scripts, buf configs) and regenerate protobuf/gateway code with the project's pinned toolchain. Wire identifiers unchanged. api gets a local replace for sdk; root/api/sdk require v0.1.0. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
30 lines
1.3 KiB
Go
30 lines
1.3 KiB
Go
// Code generated by "make api"; DO NOT EDIT.
|
|
// Copyright IBM Corp. 2020, 2026
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package targets
|
|
|
|
import (
|
|
"time"
|
|
|
|
"repo.anhonesthost.net/CyberCoveLLC/threshold/api/scopes"
|
|
)
|
|
|
|
type SessionAuthorization struct {
|
|
SessionId string `json:"session_id,omitempty"`
|
|
TargetId string `json:"target_id,omitempty"`
|
|
Scope *scopes.ScopeInfo `json:"scope,omitempty"`
|
|
CreatedTime time.Time `json:"created_time,omitempty"`
|
|
UserId string `json:"user_id,omitempty"`
|
|
HostSetId string `json:"host_set_id,omitempty"`
|
|
HostId string `json:"host_id,omitempty"`
|
|
Type string `json:"type,omitempty"`
|
|
AuthorizationToken string `json:"authorization_token,omitempty"`
|
|
ConnectionLimit int32 `json:"connection_limit,omitempty"`
|
|
Endpoint string `json:"endpoint,omitempty"`
|
|
EndpointPort uint32 `json:"endpoint_port,omitempty"`
|
|
Expiration time.Time `json:"expiration,omitempty"`
|
|
Credentials []*SessionCredential `json:"credentials,omitempty"`
|
|
SessionRecordingId string `json:"session_recording_id,omitempty"`
|
|
}
|