コード例 #1
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJComputeStackModifyIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJComputeStackModifyIDOKBodyAO0 models.JComputeStack
	if err := swag.ReadJSON(raw, &postRemoteAPIJComputeStackModifyIDOKBodyAO0); err != nil {
		return err
	}
	o.JComputeStack = postRemoteAPIJComputeStackModifyIDOKBodyAO0

	var postRemoteAPIJComputeStackModifyIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJComputeStackModifyIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJComputeStackModifyIDOKBodyAO1

	return nil
}
コード例 #2
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJGroupFetchBlockedAccountsWithEmailIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJGroupFetchBlockedAccountsWithEmailIDOKBodyAO0 models.JGroup
	if err := swag.ReadJSON(raw, &postRemoteAPIJGroupFetchBlockedAccountsWithEmailIDOKBodyAO0); err != nil {
		return err
	}
	o.JGroup = postRemoteAPIJGroupFetchBlockedAccountsWithEmailIDOKBodyAO0

	var postRemoteAPIJGroupFetchBlockedAccountsWithEmailIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJGroupFetchBlockedAccountsWithEmailIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJGroupFetchBlockedAccountsWithEmailIDOKBodyAO1

	return nil
}
コード例 #3
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJGroupDestroyIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJGroupDestroyIDOKBodyAO0 models.JGroup
	if err := swag.ReadJSON(raw, &postRemoteAPIJGroupDestroyIDOKBodyAO0); err != nil {
		return err
	}
	o.JGroup = postRemoteAPIJGroupDestroyIDOKBodyAO0

	var postRemoteAPIJGroupDestroyIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJGroupDestroyIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJGroupDestroyIDOKBodyAO1

	return nil
}
コード例 #4
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJAccountFetchEmailFrequencyIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJAccountFetchEmailFrequencyIDOKBodyAO0 models.JAccount
	if err := swag.ReadJSON(raw, &postRemoteAPIJAccountFetchEmailFrequencyIDOKBodyAO0); err != nil {
		return err
	}
	o.JAccount = postRemoteAPIJAccountFetchEmailFrequencyIDOKBodyAO0

	var postRemoteAPIJAccountFetchEmailFrequencyIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJAccountFetchEmailFrequencyIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJAccountFetchEmailFrequencyIDOKBodyAO1

	return nil
}
コード例 #5
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJCredentialShareWithIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJCredentialShareWithIDOKBodyAO0 models.JCredential
	if err := swag.ReadJSON(raw, &postRemoteAPIJCredentialShareWithIDOKBodyAO0); err != nil {
		return err
	}
	o.JCredential = postRemoteAPIJCredentialShareWithIDOKBodyAO0

	var postRemoteAPIJCredentialShareWithIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJCredentialShareWithIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJCredentialShareWithIDOKBodyAO1

	return nil
}
コード例 #6
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJCombinedAppStorageUpsertIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJCombinedAppStorageUpsertIDOKBodyAO0 models.JCombinedAppStorage
	if err := swag.ReadJSON(raw, &postRemoteAPIJCombinedAppStorageUpsertIDOKBodyAO0); err != nil {
		return err
	}
	o.JCombinedAppStorage = postRemoteAPIJCombinedAppStorageUpsertIDOKBodyAO0

	var postRemoteAPIJCombinedAppStorageUpsertIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJCombinedAppStorageUpsertIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJCombinedAppStorageUpsertIDOKBodyAO1

	return nil
}
コード例 #7
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJProxyFilterUpdateIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJProxyFilterUpdateIDOKBodyAO0 models.JProxyFilter
	if err := swag.ReadJSON(raw, &postRemoteAPIJProxyFilterUpdateIDOKBodyAO0); err != nil {
		return err
	}
	o.JProxyFilter = postRemoteAPIJProxyFilterUpdateIDOKBodyAO0

	var postRemoteAPIJProxyFilterUpdateIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJProxyFilterUpdateIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJProxyFilterUpdateIDOKBodyAO1

	return nil
}
コード例 #8
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJProposedDomainBindMachineIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJProposedDomainBindMachineIDOKBodyAO0 models.JProposedDomain
	if err := swag.ReadJSON(raw, &postRemoteAPIJProposedDomainBindMachineIDOKBodyAO0); err != nil {
		return err
	}
	o.JProposedDomain = postRemoteAPIJProposedDomainBindMachineIDOKBodyAO0

	var postRemoteAPIJProposedDomainBindMachineIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJProposedDomainBindMachineIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJProposedDomainBindMachineIDOKBodyAO1

	return nil
}
コード例 #9
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJTagFetchContentTeasersIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJTagFetchContentTeasersIDOKBodyAO0 models.JTag
	if err := swag.ReadJSON(raw, &postRemoteAPIJTagFetchContentTeasersIDOKBodyAO0); err != nil {
		return err
	}
	o.JTag = postRemoteAPIJTagFetchContentTeasersIDOKBodyAO0

	var postRemoteAPIJTagFetchContentTeasersIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJTagFetchContentTeasersIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJTagFetchContentTeasersIDOKBodyAO1

	return nil
}
コード例 #10
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJStackTemplateGenerateStackIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJStackTemplateGenerateStackIDOKBodyAO0 models.JStackTemplate
	if err := swag.ReadJSON(raw, &postRemoteAPIJStackTemplateGenerateStackIDOKBodyAO0); err != nil {
		return err
	}
	o.JStackTemplate = postRemoteAPIJStackTemplateGenerateStackIDOKBodyAO0

	var postRemoteAPIJStackTemplateGenerateStackIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJStackTemplateGenerateStackIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJStackTemplateGenerateStackIDOKBodyAO1

	return nil
}
コード例 #11
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJRewardCampaignUpdateIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJRewardCampaignUpdateIDOKBodyAO0 models.JRewardCampaign
	if err := swag.ReadJSON(raw, &postRemoteAPIJRewardCampaignUpdateIDOKBodyAO0); err != nil {
		return err
	}
	o.JRewardCampaign = postRemoteAPIJRewardCampaignUpdateIDOKBodyAO0

	var postRemoteAPIJRewardCampaignUpdateIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJRewardCampaignUpdateIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJRewardCampaignUpdateIDOKBodyAO1

	return nil
}
コード例 #12
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJAccountCheckGroupMembershipIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJAccountCheckGroupMembershipIDOKBodyAO0 models.JAccount
	if err := swag.ReadJSON(raw, &postRemoteAPIJAccountCheckGroupMembershipIDOKBodyAO0); err != nil {
		return err
	}
	o.JAccount = postRemoteAPIJAccountCheckGroupMembershipIDOKBodyAO0

	var postRemoteAPIJAccountCheckGroupMembershipIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJAccountCheckGroupMembershipIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJAccountCheckGroupMembershipIDOKBodyAO1

	return nil
}
コード例 #13
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJAccountGenerate2FactorAuthKeyIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJAccountGenerate2FactorAuthKeyIDOKBodyAO0 models.JAccount
	if err := swag.ReadJSON(raw, &postRemoteAPIJAccountGenerate2FactorAuthKeyIDOKBodyAO0); err != nil {
		return err
	}
	o.JAccount = postRemoteAPIJAccountGenerate2FactorAuthKeyIDOKBodyAO0

	var postRemoteAPIJAccountGenerate2FactorAuthKeyIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJAccountGenerate2FactorAuthKeyIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJAccountGenerate2FactorAuthKeyIDOKBodyAO1

	return nil
}
コード例 #14
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJCustomPartialsUpdateIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJCustomPartialsUpdateIDOKBodyAO0 models.JCustomPartials
	if err := swag.ReadJSON(raw, &postRemoteAPIJCustomPartialsUpdateIDOKBodyAO0); err != nil {
		return err
	}
	o.JCustomPartials = postRemoteAPIJCustomPartialsUpdateIDOKBodyAO0

	var postRemoteAPIJCustomPartialsUpdateIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJCustomPartialsUpdateIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJCustomPartialsUpdateIDOKBodyAO1

	return nil
}
コード例 #15
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJSessionRemoveIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJSessionRemoveIDOKBodyAO0 models.JSession
	if err := swag.ReadJSON(raw, &postRemoteAPIJSessionRemoveIDOKBodyAO0); err != nil {
		return err
	}
	o.JSession = postRemoteAPIJSessionRemoveIDOKBodyAO0

	var postRemoteAPIJSessionRemoveIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJSessionRemoveIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJSessionRemoveIDOKBodyAO1

	return nil
}
コード例 #16
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJTagFetchFollowingWithRelationshipIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJTagFetchFollowingWithRelationshipIDOKBodyAO0 models.JTag
	if err := swag.ReadJSON(raw, &postRemoteAPIJTagFetchFollowingWithRelationshipIDOKBodyAO0); err != nil {
		return err
	}
	o.JTag = postRemoteAPIJTagFetchFollowingWithRelationshipIDOKBodyAO0

	var postRemoteAPIJTagFetchFollowingWithRelationshipIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJTagFetchFollowingWithRelationshipIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJTagFetchFollowingWithRelationshipIDOKBodyAO1

	return nil
}
コード例 #17
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJMachineSetProvisionerIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJMachineSetProvisionerIDOKBodyAO0 models.JMachine
	if err := swag.ReadJSON(raw, &postRemoteAPIJMachineSetProvisionerIDOKBodyAO0); err != nil {
		return err
	}
	o.JMachine = postRemoteAPIJMachineSetProvisionerIDOKBodyAO0

	var postRemoteAPIJMachineSetProvisionerIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJMachineSetProvisionerIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJMachineSetProvisionerIDOKBodyAO1

	return nil
}
コード例 #18
0
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *PostRemoteAPIJAccountExpireSubscriptionIDOKBody) UnmarshalJSON(raw []byte) error {

	var postRemoteAPIJAccountExpireSubscriptionIDOKBodyAO0 models.JAccount
	if err := swag.ReadJSON(raw, &postRemoteAPIJAccountExpireSubscriptionIDOKBodyAO0); err != nil {
		return err
	}
	o.JAccount = postRemoteAPIJAccountExpireSubscriptionIDOKBodyAO0

	var postRemoteAPIJAccountExpireSubscriptionIDOKBodyAO1 models.DefaultResponse
	if err := swag.ReadJSON(raw, &postRemoteAPIJAccountExpireSubscriptionIDOKBodyAO1); err != nil {
		return err
	}
	o.DefaultResponse = postRemoteAPIJAccountExpireSubscriptionIDOKBodyAO1

	return nil
}