Skip to content

Commit

Permalink
Regenerate with updated v2 swagger file
Browse files Browse the repository at this point in the history
  • Loading branch information
alanghartJC committed Aug 9, 2019
1 parent 18bef11 commit 94e075c
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 90 deletions.
69 changes: 22 additions & 47 deletions v2/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13758,19 +13758,18 @@ definitions:
\ - Translate `locality` field of JumpCloud user address of type `work` to `city`\
\ field of Microsoft Graph user\n* `user_state` - Translate `region` field of\
\ JumpCloud user address of type `work` to `state` field of Microsoft Graph\
\ `user` \n* `user_country` - Translate `country` field of JumpCloud user address\
\ of type `work` to `country` field of Microsoft Graph `user` \n* `user_postal_code`\
\ `user`\n* `user_country` - Translate `country` field of JumpCloud user address\
\ of type `work` to `country` field of Microsoft Graph `user`\n* `user_postal_code`\
\ - Translate `postalCode` field of JumpCloud user address of type `work` to\
\ `postalCode` field of Microsoft Graph `user` \n* `user_business_phones` -\
\ Translate `number` field of first JumpCloud user `phoneNumber` of type `work`\
\ to `businessPhones` field of Microsoft Graph `user` \n* `user_mobile_phone`\
\ - Translate `number` field of first JumpCloud user `phoneNumber` of type `mobile`\
\ to `mobilePhone` field of Microsoft Graph `user` \n* `user_department` - Translate\
\ `department` field of JumpCloud user to `department` field of Microsoft Graph\
\ `user` \n* `user_job_title` - Translate `jobTitle` field of JumpCloud user\
\ to `jobTitle` field of Microsoft Graph `user` \n* `user_office_location` -\
\ Translate `location` field of JumpCloud user to `officeLocation` field of\
\ Microsoft Graph `user` "
\ `postalCode` field of Microsoft Graph `user`\n* `user_business_phones` - Translate\
\ `number` field of first JumpCloud user `phoneNumber` of type `work` to `businessPhones`\
\ field of Microsoft Graph `user`\n* `user_mobile_phone` - Translate `number`\
\ field of first JumpCloud user `phoneNumber` of type `mobile` to `mobilePhone`\
\ field of Microsoft Graph `user`\n* `user_department` - Translate `department`\
\ field of JumpCloud user to `department` field of Microsoft Graph `user`\n\
* `user_job_title` - Translate `jobTitle` field of JumpCloud user to `jobTitle`\
\ field of Microsoft Graph `user`\n* `user_office_location` - Translate `location`\
\ field of JumpCloud user to `officeLocation` field of Microsoft Graph `user`"
enum:
- "user_street_address"
- "user_city"
Expand Down Expand Up @@ -14025,8 +14024,6 @@ definitions:
type: "string"
jc_system_id:
type: "string"
jc_organization_id:
type: "string"
title: "System Insights Safari Extensions"
example:
uid: "501"
Expand Down Expand Up @@ -14074,8 +14071,6 @@ definitions:
type: "string"
jc_system_id:
type: "string"
jc_organization_id:
type: "string"
title: "System Insights Users"
example:
uid: "55"
Expand Down Expand Up @@ -14132,8 +14127,6 @@ definitions:
type: "string"
jc_system_id:
type: "string"
jc_organization_id:
type: "string"
title: "System Insights System Info"
example:
hostname: "johnnys-macbook-pro-2.local"
Expand Down Expand Up @@ -14179,8 +14172,6 @@ definitions:
type: "string"
jc_system_id:
type: "string"
jc_organization_id:
type: "string"
title: "System Insights Disk Encryption"
example:
name: "/dev/disk8"
Expand Down Expand Up @@ -14242,8 +14233,6 @@ definitions:
type: "string"
jc_system_id:
type: "string"
jc_organization_id:
type: "string"
title: "System Insights Apps"
example:
name: "App Store.app"
Expand Down Expand Up @@ -14299,8 +14288,6 @@ definitions:
type: "string"
jc_system_id:
type: "string"
jc_organization_id:
type: "string"
title: "System Insights Browser Plugins"
example:
uid: "0"
Expand Down Expand Up @@ -14347,8 +14334,6 @@ definitions:
type: "string"
jc_system_id:
type: "string"
jc_organization_id:
type: "string"
title: "System Insights OS Version"
example:
name: "Mac OS X"
Expand Down Expand Up @@ -14389,8 +14374,6 @@ definitions:
type: "string"
jc_system_id:
type: "string"
jc_organization_id:
type: "string"
title: "System Insights Interface Addresses"
example:
interface: "lo0"
Expand Down Expand Up @@ -14442,8 +14425,6 @@ definitions:
type: "string"
jc_system_id:
type: "string"
jc_organization_id:
type: "string"
title: "System Insights Firefox Addons"
example:
uid: "501"
Expand Down Expand Up @@ -14496,8 +14477,6 @@ definitions:
type: "string"
jc_system_id:
type: "string"
jc_organization_id:
type: "string"
title: "System Insights Chrome Extensions"
example:
uid: "501"
Expand Down Expand Up @@ -14539,8 +14518,6 @@ definitions:
type: "string"
jc_system_id:
type: "string"
jc_organization_id:
type: "string"
title: "System Insights Groups"
example:
gid: "701"
Expand Down Expand Up @@ -14584,8 +14561,6 @@ definitions:
type: "string"
jc_system_id:
type: "string"
jc_organization_id:
type: "string"
title: "System Insights Mounts"
example:
device: "/dev/disk5s1"
Expand Down Expand Up @@ -14644,14 +14619,14 @@ definitions:
id: "gsuite-output"
name: "GSuite Output"
public: true
ldap-server-action:
LdapServerAction:
type: "string"
title: "LDAP Server Action"
enum:
- "disable"
- "remove"
x-stoplight:
id: "ldap-server-action"
id: "LdapServerAction"
name: "LDAP Server Action"
public: true
body:
Expand All @@ -14660,19 +14635,19 @@ definitions:
id:
type: "string"
userLockoutAction:
$ref: "#/definitions/ldap-server-action"
$ref: "#/definitions/LdapServerAction"
userPasswordExpirationAction:
$ref: "#/definitions/ldap-server-action"
$ref: "#/definitions/LdapServerAction"
inline_response_200:
properties:
id:
type: "string"
name:
type: "string"
userLockoutAction:
$ref: "#/definitions/ldap-server-action"
$ref: "#/definitions/LdapServerAction"
userPasswordExpirationAction:
$ref: "#/definitions/ldap-server-action"
$ref: "#/definitions/LdapServerAction"
example:
userLockoutAction: {}
name: "name"
Expand Down Expand Up @@ -15482,8 +15457,8 @@ x-stoplight:
\ to allow management of the group members. This includes listing, adding\
\ and removing Directory Objects and Groups of Directory Objects to and\
\ from the Group. These endpoints allow you to control the members and membership\
\ of System Objects.\n\nMembers are the direct objects of an object group.\
\ \n\nMembership is defined as the direct and indirect members of an object\
\ of System Objects.\n\nMembers are the direct objects of an object group.\n\
\nMembership is defined as the direct and indirect members of an object\
\ group."
- divider: false
items:
Expand Down Expand Up @@ -15672,8 +15647,8 @@ x-stoplight:
\ to allow management of the group members. This includes listing, adding\
\ and removing Directory Objects and Groups of Directory Objects to and\
\ from the Group. These endpoints allow you to control the members and membership\
\ of User Objects.\n\nMembers are the direct objects of an object group.\
\ \n\nMembership is defined as the direct and indirect members of an object\
\ of User Objects.\n\nMembers are the direct objects of an object group.\n\
\nMembership is defined as the direct and indirect members of an object\
\ group."
- divider: false
items:
Expand Down Expand Up @@ -15781,7 +15756,7 @@ x-stoplight:
type: "schemas"
- _id: "job-workresult"
type: "schemas"
- _id: "ldap-server-action"
- _id: "LdapServerAction"
type: "schemas"
- _id: "ldap-server-input"
type: "schemas"
Expand Down
4 changes: 2 additions & 2 deletions v2/docs/Body.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | | [optional] [default to null]
**UserLockoutAction** | [***LdapServerAction**](ldap-server-action.md) | | [optional] [default to null]
**UserPasswordExpirationAction** | [***LdapServerAction**](ldap-server-action.md) | | [optional] [default to null]
**UserLockoutAction** | [***LdapServerAction**](LdapServerAction.md) | | [optional] [default to null]
**UserPasswordExpirationAction** | [***LdapServerAction**](LdapServerAction.md) | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions v2/docs/InlineResponse200.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | | [optional] [default to null]
**Name** | **string** | | [optional] [default to null]
**UserLockoutAction** | [***LdapServerAction**](ldap-server-action.md) | | [optional] [default to null]
**UserPasswordExpirationAction** | [***LdapServerAction**](ldap-server-action.md) | | [optional] [default to null]
**UserLockoutAction** | [***LdapServerAction**](LdapServerAction.md) | | [optional] [default to null]
**UserPasswordExpirationAction** | [***LdapServerAction**](LdapServerAction.md) | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 0 additions & 1 deletion v2/docs/SystemInsightsApps.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ Name | Type | Description | Notes
**LastOpenedTime** | **float32** | | [optional] [default to null]
**JcCollectionTime** | **string** | | [optional] [default to null]
**JcSystemId** | **string** | | [optional] [default to null]
**JcOrganizationId** | **string** | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 0 additions & 1 deletion v2/docs/SystemInsightsBrowserPlugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Name | Type | Description | Notes
**Disabled** | **int32** | | [optional] [default to null]
**JcCollectionTime** | **string** | | [optional] [default to null]
**JcSystemId** | **string** | | [optional] [default to null]
**JcOrganizationId** | **string** | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 0 additions & 1 deletion v2/docs/SystemInsightsChromeExtensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Name | Type | Description | Notes
**Permissions** | **string** | | [optional] [default to null]
**JcCollectionTime** | **string** | | [optional] [default to null]
**JcSystemId** | **string** | | [optional] [default to null]
**JcOrganizationId** | **string** | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 0 additions & 1 deletion v2/docs/SystemInsightsDiskEncryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Name | Type | Description | Notes
**EncryptionStatus** | **string** | | [optional] [default to null]
**JcCollectionTime** | **string** | | [optional] [default to null]
**JcSystemId** | **string** | | [optional] [default to null]
**JcOrganizationId** | **string** | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 0 additions & 1 deletion v2/docs/SystemInsightsFirefoxAddons.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Name | Type | Description | Notes
**Path** | **string** | | [optional] [default to null]
**JcCollectionTime** | **string** | | [optional] [default to null]
**JcSystemId** | **string** | | [optional] [default to null]
**JcOrganizationId** | **string** | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 0 additions & 1 deletion v2/docs/SystemInsightsGroups.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Name | Type | Description | Notes
**Comment** | **string** | | [optional] [default to null]
**JcCollectionTime** | **string** | | [optional] [default to null]
**JcSystemId** | **string** | | [optional] [default to null]
**JcOrganizationId** | **string** | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 0 additions & 1 deletion v2/docs/SystemInsightsInterfaceAddresses.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Name | Type | Description | Notes
**FriendlyName** | **string** | | [optional] [default to null]
**JcCollectionTime** | **string** | | [optional] [default to null]
**JcSystemId** | **string** | | [optional] [default to null]
**JcOrganizationId** | **string** | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 0 additions & 1 deletion v2/docs/SystemInsightsMounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Name | Type | Description | Notes
**Flags** | **string** | | [optional] [default to null]
**JcCollectionTime** | **string** | | [optional] [default to null]
**JcSystemId** | **string** | | [optional] [default to null]
**JcOrganizationId** | **string** | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 0 additions & 1 deletion v2/docs/SystemInsightsOsVersion.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Name | Type | Description | Notes
**InstallDate** | **string** | | [optional] [default to null]
**JcCollectionTime** | **string** | | [optional] [default to null]
**JcSystemId** | **string** | | [optional] [default to null]
**JcOrganizationId** | **string** | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 0 additions & 1 deletion v2/docs/SystemInsightsSafariExtensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Name | Type | Description | Notes
**Path** | **string** | | [optional] [default to null]
**JcCollectionTime** | **string** | | [optional] [default to null]
**JcSystemId** | **string** | | [optional] [default to null]
**JcOrganizationId** | **string** | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 0 additions & 1 deletion v2/docs/SystemInsightsSystemInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Name | Type | Description | Notes
**LocalHostname** | **string** | | [optional] [default to null]
**JcCollectionTime** | **string** | | [optional] [default to null]
**JcSystemId** | **string** | | [optional] [default to null]
**JcOrganizationId** | **string** | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 0 additions & 1 deletion v2/docs/SystemInsightsUsers.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Name | Type | Description | Notes
**Type_** | **string** | | [optional] [default to null]
**JcCollectionTime** | **string** | | [optional] [default to null]
**JcSystemId** | **string** | | [optional] [default to null]
**JcOrganizationId** | **string** | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions v2/ldap_server_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

package v2

type ldap-server-action string
type LdapServerAction string

// List of ldap-server-action
// List of LdapServerAction
const (
DISABLE LdapServerAction = "disable"
REMOVE LdapServerAction = "remove"
Expand Down
2 changes: 1 addition & 1 deletion v2/office365_builtin_translation.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

package v2
// Office365BuiltinTranslation : Built-in translations for Office 365 (Microsoft Graph) export: * `user_street_address` - Translate `streetAddress` field of JumpCloud user address of type `work` to `city` field of Microsoft Graph user * `user_city` - Translate `locality` field of JumpCloud user address of type `work` to `city` field of Microsoft Graph user * `user_state` - Translate `region` field of JumpCloud user address of type `work` to `state` field of Microsoft Graph `user` * `user_country` - Translate `country` field of JumpCloud user address of type `work` to `country` field of Microsoft Graph `user` * `user_postal_code` - Translate `postalCode` field of JumpCloud user address of type `work` to `postalCode` field of Microsoft Graph `user` * `user_business_phones` - Translate `number` field of first JumpCloud user `phoneNumber` of type `work` to `businessPhones` field of Microsoft Graph `user` * `user_mobile_phone` - Translate `number` field of first JumpCloud user `phoneNumber` of type `mobile` to `mobilePhone` field of Microsoft Graph `user` * `user_department` - Translate `department` field of JumpCloud user to `department` field of Microsoft Graph `user` * `user_job_title` - Translate `jobTitle` field of JumpCloud user to `jobTitle` field of Microsoft Graph `user` * `user_office_location` - Translate `location` field of JumpCloud user to `officeLocation` field of Microsoft Graph `user`
// Office365BuiltinTranslation : Built-in translations for Office 365 (Microsoft Graph) export: * `user_street_address` - Translate `streetAddress` field of JumpCloud user address of type `work` to `city` field of Microsoft Graph user * `user_city` - Translate `locality` field of JumpCloud user address of type `work` to `city` field of Microsoft Graph user * `user_state` - Translate `region` field of JumpCloud user address of type `work` to `state` field of Microsoft Graph `user` * `user_country` - Translate `country` field of JumpCloud user address of type `work` to `country` field of Microsoft Graph `user` * `user_postal_code` - Translate `postalCode` field of JumpCloud user address of type `work` to `postalCode` field of Microsoft Graph `user` * `user_business_phones` - Translate `number` field of first JumpCloud user `phoneNumber` of type `work` to `businessPhones` field of Microsoft Graph `user` * `user_mobile_phone` - Translate `number` field of first JumpCloud user `phoneNumber` of type `mobile` to `mobilePhone` field of Microsoft Graph `user` * `user_department` - Translate `department` field of JumpCloud user to `department` field of Microsoft Graph `user` * `user_job_title` - Translate `jobTitle` field of JumpCloud user to `jobTitle` field of Microsoft Graph `user` * `user_office_location` - Translate `location` field of JumpCloud user to `officeLocation` field of Microsoft Graph `user`
type Office365BuiltinTranslation string

// List of Office365BuiltinTranslation
Expand Down
2 changes: 0 additions & 2 deletions v2/system_insights_apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,4 @@ type SystemInsightsApps struct {
JcCollectionTime string `json:"jc_collection_time,omitempty"`

JcSystemId string `json:"jc_system_id,omitempty"`

JcOrganizationId string `json:"jc_organization_id,omitempty"`
}
2 changes: 0 additions & 2 deletions v2/system_insights_browser_plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,4 @@ type SystemInsightsBrowserPlugins struct {
JcCollectionTime string `json:"jc_collection_time,omitempty"`

JcSystemId string `json:"jc_system_id,omitempty"`

JcOrganizationId string `json:"jc_organization_id,omitempty"`
}
2 changes: 0 additions & 2 deletions v2/system_insights_chrome_extensions.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,4 @@ type SystemInsightsChromeExtensions struct {
JcCollectionTime string `json:"jc_collection_time,omitempty"`

JcSystemId string `json:"jc_system_id,omitempty"`

JcOrganizationId string `json:"jc_organization_id,omitempty"`
}
2 changes: 0 additions & 2 deletions v2/system_insights_disk_encryption.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,4 @@ type SystemInsightsDiskEncryption struct {
JcCollectionTime string `json:"jc_collection_time,omitempty"`

JcSystemId string `json:"jc_system_id,omitempty"`

JcOrganizationId string `json:"jc_organization_id,omitempty"`
}
2 changes: 0 additions & 2 deletions v2/system_insights_firefox_addons.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,4 @@ type SystemInsightsFirefoxAddons struct {
JcCollectionTime string `json:"jc_collection_time,omitempty"`

JcSystemId string `json:"jc_system_id,omitempty"`

JcOrganizationId string `json:"jc_organization_id,omitempty"`
}
2 changes: 0 additions & 2 deletions v2/system_insights_groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,4 @@ type SystemInsightsGroups struct {
JcCollectionTime string `json:"jc_collection_time,omitempty"`

JcSystemId string `json:"jc_system_id,omitempty"`

JcOrganizationId string `json:"jc_organization_id,omitempty"`
}
2 changes: 0 additions & 2 deletions v2/system_insights_interface_addresses.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,4 @@ type SystemInsightsInterfaceAddresses struct {
JcCollectionTime string `json:"jc_collection_time,omitempty"`

JcSystemId string `json:"jc_system_id,omitempty"`

JcOrganizationId string `json:"jc_organization_id,omitempty"`
}
Loading

0 comments on commit 94e075c

Please sign in to comment.