parent
aec8303f72
commit
2dd452bbb2
|
@ -19,7 +19,7 @@ import (
|
||||||
|
|
||||||
// Account account
|
// Account account
|
||||||
//
|
//
|
||||||
// swagger:model Account
|
// swagger:model account
|
||||||
type Account struct {
|
type Account struct {
|
||||||
|
|
||||||
// Account Number
|
// Account Number
|
||||||
|
@ -34,12 +34,18 @@ type Account struct {
|
||||||
// Annual Revenue Estimate
|
// Annual Revenue Estimate
|
||||||
AnnualRevenue *float64 `json:"AnnualRevenue,omitempty"`
|
AnnualRevenue *float64 `json:"AnnualRevenue,omitempty"`
|
||||||
|
|
||||||
|
// Salesforce AppExchange URL
|
||||||
|
AppExchange *string `json:"AppExchange,omitempty"`
|
||||||
|
|
||||||
// billing address
|
// billing address
|
||||||
BillingAddress *Address `json:"BillingAddress,omitempty"`
|
BillingAddress *AccountBillingAddress `json:"BillingAddress,omitempty"`
|
||||||
|
|
||||||
// Contact ID
|
// Contact ID
|
||||||
BillingContactID *string `json:"BillingContactID,omitempty"`
|
BillingContactID *string `json:"BillingContactID,omitempty"`
|
||||||
|
|
||||||
|
// The channels associated with the track (Multiselect Picklist).
|
||||||
|
Channels *string `json:"Channels,omitempty"`
|
||||||
|
|
||||||
// Closed Date
|
// Closed Date
|
||||||
ClosedDate *string `json:"ClosedDate,omitempty"`
|
ClosedDate *string `json:"ClosedDate,omitempty"`
|
||||||
|
|
||||||
|
@ -155,7 +161,7 @@ type Account struct {
|
||||||
SalesforceFirst *bool `json:"SalesforceFirst,omitempty"`
|
SalesforceFirst *bool `json:"SalesforceFirst,omitempty"`
|
||||||
|
|
||||||
// shipping address
|
// shipping address
|
||||||
ShippingAddress *Address `json:"ShippingAddress,omitempty"`
|
ShippingAddress *AccountBillingAddress `json:"ShippingAddress,omitempty"`
|
||||||
|
|
||||||
// Shipping Contact ID
|
// Shipping Contact ID
|
||||||
ShippingContactID *string `json:"ShippingContactID,omitempty"`
|
ShippingContactID *string `json:"ShippingContactID,omitempty"`
|
||||||
|
|
|
@ -0,0 +1,72 @@
|
||||||
|
// Code generated by go-swagger; DO NOT EDIT.
|
||||||
|
|
||||||
|
// (c) 2012-2023 by Vernon Keenan
|
||||||
|
// All rights reserved worldwide.
|
||||||
|
// Proprietary product; unlicensed use is not allowed
|
||||||
|
|
||||||
|
package sfgate_models
|
||||||
|
|
||||||
|
// This file was generated by the swagger tool.
|
||||||
|
// Editing this file might prove futile when you re-run the swagger generate command
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
|
||||||
|
"github.com/go-openapi/strfmt"
|
||||||
|
"github.com/go-openapi/swag"
|
||||||
|
)
|
||||||
|
|
||||||
|
// AccountBillingAddress account billing address
|
||||||
|
//
|
||||||
|
// swagger:model accountBillingAddress
|
||||||
|
type AccountBillingAddress struct {
|
||||||
|
|
||||||
|
// City
|
||||||
|
City *string `json:"City,omitempty"`
|
||||||
|
|
||||||
|
// Country full name
|
||||||
|
Country *string `json:"Country,omitempty"`
|
||||||
|
|
||||||
|
// Country Code
|
||||||
|
CountryCode *string `json:"CountryCode,omitempty"`
|
||||||
|
|
||||||
|
// Postal Code
|
||||||
|
PostalCode *string `json:"PostalCode,omitempty"`
|
||||||
|
|
||||||
|
// State full name
|
||||||
|
State *string `json:"State,omitempty"`
|
||||||
|
|
||||||
|
// State Code
|
||||||
|
StateCode *string `json:"StateCode,omitempty"`
|
||||||
|
|
||||||
|
// Street number and name
|
||||||
|
Street *string `json:"Street,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// Validate validates this account billing address
|
||||||
|
func (m *AccountBillingAddress) Validate(formats strfmt.Registry) error {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// ContextValidate validates this account billing address based on context it is used
|
||||||
|
func (m *AccountBillingAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// MarshalBinary interface implementation
|
||||||
|
func (m *AccountBillingAddress) MarshalBinary() ([]byte, error) {
|
||||||
|
if m == nil {
|
||||||
|
return nil, nil
|
||||||
|
}
|
||||||
|
return swag.WriteJSON(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
// UnmarshalBinary interface implementation
|
||||||
|
func (m *AccountBillingAddress) UnmarshalBinary(b []byte) error {
|
||||||
|
var res AccountBillingAddress
|
||||||
|
if err := swag.ReadJSON(b, &res); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
*m = res
|
||||||
|
return nil
|
||||||
|
}
|
|
@ -18,7 +18,7 @@ import (
|
||||||
|
|
||||||
// Cluster cluster
|
// Cluster cluster
|
||||||
//
|
//
|
||||||
// swagger:model Cluster
|
// swagger:model cluster
|
||||||
type Cluster struct {
|
type Cluster struct {
|
||||||
|
|
||||||
// Created By
|
// Created By
|
||||||
|
@ -40,7 +40,7 @@ type Cluster struct {
|
||||||
ID string `json:"ID,omitempty"`
|
ID string `json:"ID,omitempty"`
|
||||||
|
|
||||||
// IP Address
|
// IP Address
|
||||||
IPAddress *string `json:"IpAddress,omitempty"`
|
IPAddress *string `json:"IPAddress,omitempty"`
|
||||||
|
|
||||||
// Last Modified By
|
// Last Modified By
|
||||||
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
|
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
|
||||||
|
@ -63,7 +63,7 @@ type Cluster struct {
|
||||||
// Subnet
|
// Subnet
|
||||||
Subnet *string `json:"Subnet,omitempty"`
|
Subnet *string `json:"Subnet,omitempty"`
|
||||||
|
|
||||||
// tenantid
|
// The ID of the tenant who owns this Database
|
||||||
TenantID *string `json:"TenantID,omitempty"`
|
TenantID *string `json:"TenantID,omitempty"`
|
||||||
|
|
||||||
// Type
|
// Type
|
||||||
|
|
|
@ -19,7 +19,7 @@ import (
|
||||||
|
|
||||||
// Contact contact
|
// Contact contact
|
||||||
//
|
//
|
||||||
// swagger:model Contact
|
// swagger:model contact
|
||||||
type Contact struct {
|
type Contact struct {
|
||||||
|
|
||||||
// The primary account ID of this contact
|
// The primary account ID of this contact
|
||||||
|
@ -34,13 +34,16 @@ type Contact struct {
|
||||||
// Birthdate
|
// Birthdate
|
||||||
BirthDate *string `json:"BirthDate,omitempty"`
|
BirthDate *string `json:"BirthDate,omitempty"`
|
||||||
|
|
||||||
|
// The channels associated with the track (Multiselect Picklist).
|
||||||
|
Channels *string `json:"Channels,omitempty"`
|
||||||
|
|
||||||
// Created By User ID
|
// Created By User ID
|
||||||
CreatedByID *string `json:"CreatedByID,omitempty"`
|
CreatedByID *string `json:"CreatedByID,omitempty"`
|
||||||
|
|
||||||
// Created Date
|
// Created Date
|
||||||
CreatedDate *string `json:"CreatedDate,omitempty"`
|
CreatedDate *string `json:"CreatedDate,omitempty"`
|
||||||
|
|
||||||
// Crunchbase URL
|
// crunchbase URL
|
||||||
CrunchbaseURL *string `json:"CrunchbaseURL,omitempty"`
|
CrunchbaseURL *string `json:"CrunchbaseURL,omitempty"`
|
||||||
|
|
||||||
// Department
|
// Department
|
||||||
|
@ -59,12 +62,12 @@ type Contact struct {
|
||||||
EmailBounceDate *string `json:"EmailBounceDate,omitempty"`
|
EmailBounceDate *string `json:"EmailBounceDate,omitempty"`
|
||||||
|
|
||||||
// Email Bounce Reason
|
// Email Bounce Reason
|
||||||
EmailBounceReason *string `json:"EmailBounceReason,omitempty"`
|
EmailBouncedReason *string `json:"EmailBouncedReason,omitempty"`
|
||||||
|
|
||||||
// Fax Number
|
// Facebook Page
|
||||||
Facebook *string `json:"Facebook,omitempty"`
|
Facebook *string `json:"Facebook,omitempty"`
|
||||||
|
|
||||||
// fax
|
// Fax Number
|
||||||
Fax *string `json:"Fax,omitempty"`
|
Fax *string `json:"Fax,omitempty"`
|
||||||
|
|
||||||
// First Name
|
// First Name
|
||||||
|
@ -101,7 +104,7 @@ type Contact struct {
|
||||||
LinkedIn *string `json:"LinkedIn,omitempty"`
|
LinkedIn *string `json:"LinkedIn,omitempty"`
|
||||||
|
|
||||||
// mailing address
|
// mailing address
|
||||||
MailingAddress *Address `json:"MailingAddress,omitempty"`
|
MailingAddress *AccountBillingAddress `json:"MailingAddress,omitempty"`
|
||||||
|
|
||||||
// Mobile Phone
|
// Mobile Phone
|
||||||
MobilePhone *string `json:"MobilePhone,omitempty"`
|
MobilePhone *string `json:"MobilePhone,omitempty"`
|
||||||
|
@ -109,11 +112,11 @@ type Contact struct {
|
||||||
// Full Name
|
// Full Name
|
||||||
Name *string `json:"Name,omitempty"`
|
Name *string `json:"Name,omitempty"`
|
||||||
|
|
||||||
// Number of Investments
|
// number investments
|
||||||
NumberInvestments *float64 `json:"NumberInvestments,omitempty"`
|
NumberInvestments *float64 `json:"NumberInvestments,omitempty"`
|
||||||
|
|
||||||
// other address
|
// other address
|
||||||
OtherAddress *Address `json:"OtherAddress,omitempty"`
|
OtherAddress *AccountBillingAddress `json:"OtherAddress,omitempty"`
|
||||||
|
|
||||||
// Other Phone
|
// Other Phone
|
||||||
OtherPhone *string `json:"OtherPhone,omitempty"`
|
OtherPhone *string `json:"OtherPhone,omitempty"`
|
||||||
|
@ -130,7 +133,7 @@ type Contact struct {
|
||||||
// URL of a photograph of this User
|
// URL of a photograph of this User
|
||||||
PhotoURL *string `json:"PhotoURL,omitempty"`
|
PhotoURL *string `json:"PhotoURL,omitempty"`
|
||||||
|
|
||||||
// Reports To User ID
|
// Reports To
|
||||||
ReportsToID *string `json:"ReportsToID,omitempty"`
|
ReportsToID *string `json:"ReportsToID,omitempty"`
|
||||||
|
|
||||||
// Salutation
|
// Salutation
|
||||||
|
@ -139,13 +142,13 @@ type Contact struct {
|
||||||
// Slug
|
// Slug
|
||||||
Slug *string `json:"Slug,omitempty"`
|
Slug *string `json:"Slug,omitempty"`
|
||||||
|
|
||||||
// tenant identifier
|
// Tenant Identifier
|
||||||
TenantID *string `json:"TenantID,omitempty"`
|
TenantID *string `json:"TenantID,omitempty"`
|
||||||
|
|
||||||
// Contact Title
|
// Contact Title
|
||||||
Title *string `json:"Title,omitempty"`
|
Title *string `json:"Title,omitempty"`
|
||||||
|
|
||||||
// twitter
|
// Twitter URL
|
||||||
Twitter *string `json:"Twitter,omitempty"`
|
Twitter *string `json:"Twitter,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ import (
|
||||||
|
|
||||||
// Contract contract
|
// Contract contract
|
||||||
//
|
//
|
||||||
// swagger:model Contract
|
// swagger:model contract
|
||||||
type Contract struct {
|
type Contract struct {
|
||||||
|
|
||||||
// Account
|
// Account
|
||||||
|
@ -31,8 +31,8 @@ type Contract struct {
|
||||||
// Activated Date
|
// Activated Date
|
||||||
ActivatedDate *string `json:"ActivatedDate,omitempty"`
|
ActivatedDate *string `json:"ActivatedDate,omitempty"`
|
||||||
|
|
||||||
// Billing Address
|
// billing address
|
||||||
BillingAddress *Address `json:"BillingAddress,omitempty"`
|
BillingAddress *AccountBillingAddress `json:"BillingAddress,omitempty"`
|
||||||
|
|
||||||
// Billing Contact
|
// Billing Contact
|
||||||
BillingContactID *string `json:"BillingContactID,omitempty"`
|
BillingContactID *string `json:"BillingContactID,omitempty"`
|
||||||
|
@ -79,7 +79,7 @@ type Contract struct {
|
||||||
// Hourly Rate
|
// Hourly Rate
|
||||||
HourlyRate *float64 `json:"HourlyRate,omitempty"`
|
HourlyRate *float64 `json:"HourlyRate,omitempty"`
|
||||||
|
|
||||||
// Telnexus Record Id
|
// Record Id
|
||||||
ID string `json:"ID,omitempty"`
|
ID string `json:"ID,omitempty"`
|
||||||
|
|
||||||
// Last Modified By User ID
|
// Last Modified By User ID
|
||||||
|
@ -100,8 +100,8 @@ type Contract struct {
|
||||||
// Perpetual Agreement?
|
// Perpetual Agreement?
|
||||||
Perpetual *bool `json:"Perpetual,omitempty"`
|
Perpetual *bool `json:"Perpetual,omitempty"`
|
||||||
|
|
||||||
// Shipping Address
|
// shipping address
|
||||||
ShippingAddress *Address `json:"ShippingAddress,omitempty"`
|
ShippingAddress *AccountBillingAddress `json:"ShippingAddress,omitempty"`
|
||||||
|
|
||||||
// Shipping Contact
|
// Shipping Contact
|
||||||
ShippingContactID *string `json:"ShippingContactID,omitempty"`
|
ShippingContactID *string `json:"ShippingContactID,omitempty"`
|
||||||
|
|
|
@ -18,7 +18,7 @@ import (
|
||||||
|
|
||||||
// Database A Database provisioned and owned by a Tenant
|
// Database A Database provisioned and owned by a Tenant
|
||||||
//
|
//
|
||||||
// swagger:model Database
|
// swagger:model database
|
||||||
type Database struct {
|
type Database struct {
|
||||||
|
|
||||||
// Is this database active?
|
// Is this database active?
|
||||||
|
|
|
@ -18,7 +18,7 @@ import (
|
||||||
|
|
||||||
// Role A functional role within a Tenant
|
// Role A functional role within a Tenant
|
||||||
//
|
//
|
||||||
// swagger:model Role
|
// swagger:model role
|
||||||
type Role struct {
|
type Role struct {
|
||||||
|
|
||||||
// the corresponding auth0 role
|
// the corresponding auth0 role
|
||||||
|
|
|
@ -18,9 +18,12 @@ import (
|
||||||
|
|
||||||
// Template template
|
// Template template
|
||||||
//
|
//
|
||||||
// swagger:model Template
|
// swagger:model template
|
||||||
type Template struct {
|
type Template struct {
|
||||||
|
|
||||||
|
// Company
|
||||||
|
CompanyID *string `json:"CompanyID,omitempty"`
|
||||||
|
|
||||||
// created by ID
|
// created by ID
|
||||||
CreatedByID *string `json:"CreatedByID,omitempty"`
|
CreatedByID *string `json:"CreatedByID,omitempty"`
|
||||||
|
|
||||||
|
@ -57,7 +60,7 @@ type Template struct {
|
||||||
// Record Type Name
|
// Record Type Name
|
||||||
RecordTypeName *string `json:"RecordTypeName,omitempty"`
|
RecordTypeName *string `json:"RecordTypeName,omitempty"`
|
||||||
|
|
||||||
// tenant identifier
|
// Tenant that owns this object instance
|
||||||
TenantID *string `json:"TenantID,omitempty"`
|
TenantID *string `json:"TenantID,omitempty"`
|
||||||
|
|
||||||
// Type
|
// Type
|
||||||
|
|
|
@ -20,7 +20,7 @@ import (
|
||||||
|
|
||||||
// Tenant Account Tenant
|
// Tenant Account Tenant
|
||||||
//
|
//
|
||||||
// swagger:model Tenant
|
// swagger:model tenant
|
||||||
type Tenant struct {
|
type Tenant struct {
|
||||||
|
|
||||||
// The Account that owns this Tenant
|
// The Account that owns this Tenant
|
||||||
|
@ -57,9 +57,9 @@ type Tenant struct {
|
||||||
TenantName *string `json:"TenantName,omitempty"`
|
TenantName *string `json:"TenantName,omitempty"`
|
||||||
|
|
||||||
// tenant users
|
// tenant users
|
||||||
TenantUsers []*TenantUser `json:"TenantUsers"`
|
TenantUsers []*TenantTenantUsersItems `json:"TenantUsers"`
|
||||||
|
|
||||||
// Type of tenant
|
// The type of Tenant
|
||||||
Type *string `json:"Type,omitempty"`
|
Type *string `json:"Type,omitempty"`
|
||||||
|
|
||||||
// The version number of the Tenant Onboarding system used to create this tenant
|
// The version number of the Tenant Onboarding system used to create this tenant
|
||||||
|
|
|
@ -0,0 +1,99 @@
|
||||||
|
// Code generated by go-swagger; DO NOT EDIT.
|
||||||
|
|
||||||
|
// (c) 2012-2023 by Vernon Keenan
|
||||||
|
// All rights reserved worldwide.
|
||||||
|
// Proprietary product; unlicensed use is not allowed
|
||||||
|
|
||||||
|
package sfgate_models
|
||||||
|
|
||||||
|
// This file was generated by the swagger tool.
|
||||||
|
// Editing this file might prove futile when you re-run the swagger generate command
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
|
||||||
|
"github.com/go-openapi/strfmt"
|
||||||
|
"github.com/go-openapi/swag"
|
||||||
|
)
|
||||||
|
|
||||||
|
// TenantTenantUsersItems Relationship object that connects users to a tenant
|
||||||
|
//
|
||||||
|
// swagger:model tenantTenantUsersItems
|
||||||
|
type TenantTenantUsersItems struct {
|
||||||
|
|
||||||
|
// The makeTenantUser access level for this User
|
||||||
|
AccessLevel *string `json:"AccessLevel,omitempty"`
|
||||||
|
|
||||||
|
// Account ID
|
||||||
|
AccountID *string `json:"AccountID,omitempty"`
|
||||||
|
|
||||||
|
// Auth0 User ID
|
||||||
|
Auth0UserID *string `json:"Auth0UserID,omitempty"`
|
||||||
|
|
||||||
|
// Account Name
|
||||||
|
CompanyName *string `json:"CompanyName,omitempty"`
|
||||||
|
|
||||||
|
// Contact ID
|
||||||
|
ContactID *string `json:"ContactID,omitempty"`
|
||||||
|
|
||||||
|
// Account
|
||||||
|
ExternalAccount *string `json:"ExternalAccount,omitempty"`
|
||||||
|
|
||||||
|
// Tenant active?
|
||||||
|
TenantActive *bool `json:"TenantActive,omitempty"`
|
||||||
|
|
||||||
|
// The Tenant ID
|
||||||
|
TenantID *string `json:"TenantID,omitempty"`
|
||||||
|
|
||||||
|
// Tenant Name
|
||||||
|
TenantName *string `json:"TenantName,omitempty"`
|
||||||
|
|
||||||
|
// Tenant Status
|
||||||
|
TenantStatus *string `json:"TenantStatus,omitempty"`
|
||||||
|
|
||||||
|
// Tenant type
|
||||||
|
TenantType *string `json:"TenantType,omitempty"`
|
||||||
|
|
||||||
|
// Tenant Version
|
||||||
|
TenantVersion *string `json:"TenantVersion,omitempty"`
|
||||||
|
|
||||||
|
// User Email Address
|
||||||
|
UserEmail *string `json:"UserEmail,omitempty"`
|
||||||
|
|
||||||
|
// User Full Name
|
||||||
|
UserFullName *string `json:"UserFullName,omitempty"`
|
||||||
|
|
||||||
|
// The User ID
|
||||||
|
UserID *string `json:"UserID,omitempty"`
|
||||||
|
|
||||||
|
// Username
|
||||||
|
Username *string `json:"Username,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// Validate validates this tenant tenant users items
|
||||||
|
func (m *TenantTenantUsersItems) Validate(formats strfmt.Registry) error {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// ContextValidate validates this tenant tenant users items based on context it is used
|
||||||
|
func (m *TenantTenantUsersItems) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// MarshalBinary interface implementation
|
||||||
|
func (m *TenantTenantUsersItems) MarshalBinary() ([]byte, error) {
|
||||||
|
if m == nil {
|
||||||
|
return nil, nil
|
||||||
|
}
|
||||||
|
return swag.WriteJSON(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
// UnmarshalBinary interface implementation
|
||||||
|
func (m *TenantTenantUsersItems) UnmarshalBinary(b []byte) error {
|
||||||
|
var res TenantTenantUsersItems
|
||||||
|
if err := swag.ReadJSON(b, &res); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
*m = res
|
||||||
|
return nil
|
||||||
|
}
|
|
@ -20,9 +20,12 @@ import (
|
||||||
|
|
||||||
// Topic A research topic that collects data
|
// Topic A research topic that collects data
|
||||||
//
|
//
|
||||||
// swagger:model Topic
|
// swagger:model topic
|
||||||
type Topic struct {
|
type Topic struct {
|
||||||
|
|
||||||
|
// The channels associated with the track (Multiselect Picklist).
|
||||||
|
Channels *string `json:"Channels,omitempty"`
|
||||||
|
|
||||||
// Created By User ID
|
// Created By User ID
|
||||||
CreatedByID *string `json:"CreatedByID,omitempty"`
|
CreatedByID *string `json:"CreatedByID,omitempty"`
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ import (
|
||||||
|
|
||||||
// User user
|
// User user
|
||||||
//
|
//
|
||||||
// swagger:model User
|
// swagger:model user
|
||||||
type User struct {
|
type User struct {
|
||||||
|
|
||||||
// API Gateway URL
|
// API Gateway URL
|
||||||
|
@ -39,7 +39,7 @@ type User struct {
|
||||||
AccountID *string `json:"AccountID,omitempty"`
|
AccountID *string `json:"AccountID,omitempty"`
|
||||||
|
|
||||||
// address
|
// address
|
||||||
Address *Address `json:"Address,omitempty"`
|
Address *AccountBillingAddress `json:"Address,omitempty"`
|
||||||
|
|
||||||
// Alias
|
// Alias
|
||||||
Alias *string `json:"Alias,omitempty"`
|
Alias *string `json:"Alias,omitempty"`
|
||||||
|
@ -89,9 +89,6 @@ type User struct {
|
||||||
// Account
|
// Account
|
||||||
ExternalAccount *string `json:"ExternalAccount,omitempty"`
|
ExternalAccount *string `json:"ExternalAccount,omitempty"`
|
||||||
|
|
||||||
// Fabric API Key
|
|
||||||
FabricAPIKey *string `json:"FabricAPIKey,omitempty"`
|
|
||||||
|
|
||||||
// Fax
|
// Fax
|
||||||
Fax *string `json:"Fax,omitempty"`
|
Fax *string `json:"Fax,omitempty"`
|
||||||
|
|
||||||
|
@ -116,9 +113,6 @@ type User struct {
|
||||||
// Is the user enabled for Communities?
|
// Is the user enabled for Communities?
|
||||||
IsPortalEnabled *bool `json:"IsPortalEnabled,omitempty"`
|
IsPortalEnabled *bool `json:"IsPortalEnabled,omitempty"`
|
||||||
|
|
||||||
// Has Profile Photo
|
|
||||||
IsProfilePhotoActive *bool `json:"IsProfilePhotoActive,omitempty"`
|
|
||||||
|
|
||||||
// is system controlled
|
// is system controlled
|
||||||
IsSystemControlled *bool `json:"IsSystemControlled,omitempty"`
|
IsSystemControlled *bool `json:"IsSystemControlled,omitempty"`
|
||||||
|
|
||||||
|
@ -155,6 +149,9 @@ type User struct {
|
||||||
// Out of office message
|
// Out of office message
|
||||||
OutOfOfficeMessage *string `json:"OutOfOfficeMessage,omitempty"`
|
OutOfOfficeMessage *string `json:"OutOfOfficeMessage,omitempty"`
|
||||||
|
|
||||||
|
// Password (encrypted)
|
||||||
|
Password *string `json:"Password,omitempty"`
|
||||||
|
|
||||||
// Phone
|
// Phone
|
||||||
Phone *string `json:"Phone,omitempty"`
|
Phone *string `json:"Phone,omitempty"`
|
||||||
|
|
||||||
|
@ -164,41 +161,32 @@ type User struct {
|
||||||
// Profile
|
// Profile
|
||||||
ProfileID *string `json:"ProfileID,omitempty"`
|
ProfileID *string `json:"ProfileID,omitempty"`
|
||||||
|
|
||||||
// Provider
|
// Login Provider
|
||||||
Provider *string `json:"Provider,omitempty"`
|
Provider *string `json:"Provider,omitempty"`
|
||||||
|
|
||||||
// Info Emails
|
// Info Emails
|
||||||
ReceivesAdminEmails *bool `json:"ReceivesAdminEmails,omitempty"`
|
ReceivesAdminEmails *bool `json:"ReceivesAdminEmails,omitempty"`
|
||||||
|
|
||||||
// Admin Info Emails
|
|
||||||
ReceivesAdminInfoEmails *bool `json:"ReceivesAdminInfoEmails,omitempty"`
|
|
||||||
|
|
||||||
// Info Emails
|
|
||||||
ReceivesInfoEmails *bool `json:"ReceivesInfoEmails,omitempty"`
|
|
||||||
|
|
||||||
// Email Sender Address
|
// Email Sender Address
|
||||||
SenderEmail *string `json:"SenderEmail,omitempty"`
|
SenderEmail *string `json:"SenderEmail,omitempty"`
|
||||||
|
|
||||||
// Email Sender Name
|
// Email Sender Name
|
||||||
SenderName *string `json:"SenderName,omitempty"`
|
SenderName *string `json:"SenderName,omitempty"`
|
||||||
|
|
||||||
// Email Signature
|
|
||||||
Signature *string `json:"Signature,omitempty"`
|
|
||||||
|
|
||||||
// Small Photo URL
|
// Small Photo URL
|
||||||
SmallPhotoURL *string `json:"SmallPhotoURL,omitempty"`
|
SmallPhotoURL *string `json:"SmallPhotoURL,omitempty"`
|
||||||
|
|
||||||
// The time day starts
|
// The time day starts
|
||||||
StartOfDay *string `json:"StartOfDay,omitempty"`
|
StartOfDay *string `json:"StartOfDay,omitempty"`
|
||||||
|
|
||||||
// Status
|
// Onboarding Status
|
||||||
Status *string `json:"Status,omitempty"`
|
Status *string `json:"Status,omitempty"`
|
||||||
|
|
||||||
// Tenant ID associated with this user
|
// Tenant ID associated with this user
|
||||||
TenantID *string `json:"TenantID,omitempty"`
|
TenantID *string `json:"TenantID,omitempty"`
|
||||||
|
|
||||||
// tenant users
|
// tenant users
|
||||||
TenantUsers []*TenantUser `json:"TenantUsers"`
|
TenantUsers []*TenantTenantUsersItems `json:"TenantUsers"`
|
||||||
|
|
||||||
// Time Zone
|
// Time Zone
|
||||||
TimeZone *string `json:"TimeZone,omitempty"`
|
TimeZone *string `json:"TimeZone,omitempty"`
|
||||||
|
@ -213,7 +201,7 @@ type User struct {
|
||||||
UserRoleID *string `json:"UserRoleID,omitempty"`
|
UserRoleID *string `json:"UserRoleID,omitempty"`
|
||||||
|
|
||||||
// user roles
|
// user roles
|
||||||
UserRoles []*UserRole `json:"UserRoles"`
|
UserRoles []*UserUserRolesItems0 `json:"UserRoles"`
|
||||||
|
|
||||||
// User Type
|
// User Type
|
||||||
UserType *string `json:"UserType,omitempty"`
|
UserType *string `json:"UserType,omitempty"`
|
||||||
|
@ -410,3 +398,76 @@ func (m *User) UnmarshalBinary(b []byte) error {
|
||||||
*m = res
|
*m = res
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// UserUserRolesItems0 Relationship object that connects user to a role
|
||||||
|
//
|
||||||
|
// swagger:model UserUserRolesItems0
|
||||||
|
type UserUserRolesItems0 struct {
|
||||||
|
|
||||||
|
// Account Id
|
||||||
|
AccountID *string `json:"AccountID,omitempty"`
|
||||||
|
|
||||||
|
// Linked role ID
|
||||||
|
Auth0RoleID *string `json:"Auth0RoleID,omitempty"`
|
||||||
|
|
||||||
|
// Auth0 User ID
|
||||||
|
Auth0UserID *string `json:"Auth0UserID,omitempty"`
|
||||||
|
|
||||||
|
// Company Name
|
||||||
|
CompanyName *string `json:"CompanyName,omitempty"`
|
||||||
|
|
||||||
|
// Contact ID
|
||||||
|
ContactID *string `json:"ContactID,omitempty"`
|
||||||
|
|
||||||
|
// Account Number
|
||||||
|
ExternalAccount *string `json:"ExternalAccount,omitempty"`
|
||||||
|
|
||||||
|
// Role description
|
||||||
|
RoleDescription *string `json:"RoleDescription,omitempty"`
|
||||||
|
|
||||||
|
// The Role ID
|
||||||
|
RoleID *string `json:"RoleID,omitempty"`
|
||||||
|
|
||||||
|
// Role Name
|
||||||
|
RoleName *string `json:"RoleName,omitempty"`
|
||||||
|
|
||||||
|
// User Email Address
|
||||||
|
UserEmail *string `json:"UserEmail,omitempty"`
|
||||||
|
|
||||||
|
// User Full Name
|
||||||
|
UserFullName *string `json:"UserFullName,omitempty"`
|
||||||
|
|
||||||
|
// The User ID
|
||||||
|
UserID *string `json:"UserID,omitempty"`
|
||||||
|
|
||||||
|
// Username
|
||||||
|
Username *string `json:"Username,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// Validate validates this user user roles items0
|
||||||
|
func (m *UserUserRolesItems0) Validate(formats strfmt.Registry) error {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// ContextValidate validates this user user roles items0 based on context it is used
|
||||||
|
func (m *UserUserRolesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// MarshalBinary interface implementation
|
||||||
|
func (m *UserUserRolesItems0) MarshalBinary() ([]byte, error) {
|
||||||
|
if m == nil {
|
||||||
|
return nil, nil
|
||||||
|
}
|
||||||
|
return swag.WriteJSON(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
// UnmarshalBinary interface implementation
|
||||||
|
func (m *UserUserRolesItems0) UnmarshalBinary(b []byte) error {
|
||||||
|
var res UserUserRolesItems0
|
||||||
|
if err := swag.ReadJSON(b, &res); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
*m = res
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue