All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.com.stytch.java.b2b.models.scim.SCIM.kt Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
package com.stytch.java.b2b.models.scim

// !!!
// WARNING: This file is autogenerated
// Only modify code within MANUAL() sections
// or your changes may be overwritten later!
// !!!

import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import java.time.Instant

@JsonClass(generateAdapter = true)
public data class SCIMConnection
    @JvmOverloads
    constructor(
        @Json(name = "organization_id")
        val organizationId: String,
        @Json(name = "connection_id")
        val connectionId: String,
        @Json(name = "status")
        val status: String,
        @Json(name = "display_name")
        val displayName: String,
        @Json(name = "idp")
        val identityProvider: String,
        @Json(name = "base_url")
        val baseURL: String,
        @Json(name = "bearer_token_last_four")
        val bearerTokenLastFour: String,
        @Json(name = "scim_group_implicit_role_assignments")
        val scimGroupImplicitRoleAssignments: List,
        @Json(name = "bearer_token_expires_at")
        val bearerTokenExpiresAt: Instant? = null,
    )

@JsonClass(generateAdapter = true)
public data class SCIMConnectionWithNextToken
    @JvmOverloads
    constructor(
        @Json(name = "organization_id")
        val organizationId: String,
        @Json(name = "connection_id")
        val connectionId: String,
        @Json(name = "status")
        val status: String,
        @Json(name = "display_name")
        val displayName: String,
        @Json(name = "base_url")
        val baseURL: String,
        @Json(name = "idp")
        val identityProvider: String,
        @Json(name = "bearer_token_last_four")
        val bearerTokenLastFour: String,
        @Json(name = "next_bearer_token")
        val nextBearerToken: String,
        @Json(name = "scim_group_implicit_role_assignments")
        val scimGroupImplicitRoleAssignments: List,
        @Json(name = "bearer_token_expires_at")
        val bearerTokenExpiresAt: Instant? = null,
        @Json(name = "next_bearer_token_expires_at")
        val nextBearerTokenExpiresAt: Instant? = null,
    )

@JsonClass(generateAdapter = true)
public data class SCIMConnectionWithToken
    @JvmOverloads
    constructor(
        @Json(name = "organization_id")
        val organizationId: String,
        @Json(name = "connection_id")
        val connectionId: String,
        @Json(name = "status")
        val status: String,
        @Json(name = "display_name")
        val displayName: String,
        @Json(name = "idp")
        val identityProvider: String,
        @Json(name = "base_url")
        val baseURL: String,
        @Json(name = "bearer_token")
        val bearerToken: String,
        @Json(name = "scim_group_implicit_role_assignments")
        val scimGroupImplicitRoleAssignments: List,
        @Json(name = "bearer_token_expires_at")
        val bearerTokenExpiresAt: Instant? = null,
    )

@JsonClass(generateAdapter = true)
public data class SCIMGroupImplicitRoleAssignments
    @JvmOverloads
    constructor(
        @Json(name = "role_id")
        val roleId: String,
        @Json(name = "group_id")
        val groupId: String,
        @Json(name = "group_name")
        val groupName: String,
    )




© 2015 - 2024 Weber Informatics LLC | Privacy Policy