// MarshalJSON marshals this object to a JSON structure func (o PostRemoteAPIJComputeStackModifyIDOKBody) MarshalJSON() ([]byte, error) { var _parts [][]byte postRemoteAPIJComputeStackModifyIDOKBodyAO0, err := swag.WriteJSON(o.JComputeStack) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJComputeStackModifyIDOKBodyAO0) postRemoteAPIJComputeStackModifyIDOKBodyAO1, err := swag.WriteJSON(o.DefaultResponse) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJComputeStackModifyIDOKBodyAO1) return swag.ConcatJSON(_parts...), nil }
// MarshalJSON marshals this object to a JSON structure func (o PostRemoteAPIJMachineSetProvisionerIDOKBody) MarshalJSON() ([]byte, error) { var _parts [][]byte postRemoteAPIJMachineSetProvisionerIDOKBodyAO0, err := swag.WriteJSON(o.JMachine) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJMachineSetProvisionerIDOKBodyAO0) postRemoteAPIJMachineSetProvisionerIDOKBodyAO1, err := swag.WriteJSON(o.DefaultResponse) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJMachineSetProvisionerIDOKBodyAO1) return swag.ConcatJSON(_parts...), nil }
// MarshalJSON marshals this object to a JSON structure func (o PostRemoteAPIJGroupChangeMemberRolesIDOKBody) MarshalJSON() ([]byte, error) { var _parts [][]byte postRemoteAPIJGroupChangeMemberRolesIDOKBodyAO0, err := swag.WriteJSON(o.JGroup) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJGroupChangeMemberRolesIDOKBodyAO0) postRemoteAPIJGroupChangeMemberRolesIDOKBodyAO1, err := swag.WriteJSON(o.DefaultResponse) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJGroupChangeMemberRolesIDOKBodyAO1) return swag.ConcatJSON(_parts...), nil }
// MarshalJSON marshals this object to a JSON structure func (o PostRemoteAPIJGroupFetchBlockedAccountsWithEmailIDOKBody) MarshalJSON() ([]byte, error) { var _parts [][]byte postRemoteAPIJGroupFetchBlockedAccountsWithEmailIDOKBodyAO0, err := swag.WriteJSON(o.JGroup) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJGroupFetchBlockedAccountsWithEmailIDOKBodyAO0) postRemoteAPIJGroupFetchBlockedAccountsWithEmailIDOKBodyAO1, err := swag.WriteJSON(o.DefaultResponse) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJGroupFetchBlockedAccountsWithEmailIDOKBodyAO1) return swag.ConcatJSON(_parts...), nil }
// MarshalJSON marshals this object to a JSON structure func (o PostRemoteAPIJProxyFilterUpdateIDOKBody) MarshalJSON() ([]byte, error) { var _parts [][]byte postRemoteAPIJProxyFilterUpdateIDOKBodyAO0, err := swag.WriteJSON(o.JProxyFilter) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJProxyFilterUpdateIDOKBodyAO0) postRemoteAPIJProxyFilterUpdateIDOKBodyAO1, err := swag.WriteJSON(o.DefaultResponse) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJProxyFilterUpdateIDOKBodyAO1) return swag.ConcatJSON(_parts...), nil }
// MarshalJSON marshals this object to a JSON structure func (o PostRemoteAPIJAccountFetchEmailFrequencyIDOKBody) MarshalJSON() ([]byte, error) { var _parts [][]byte postRemoteAPIJAccountFetchEmailFrequencyIDOKBodyAO0, err := swag.WriteJSON(o.JAccount) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJAccountFetchEmailFrequencyIDOKBodyAO0) postRemoteAPIJAccountFetchEmailFrequencyIDOKBodyAO1, err := swag.WriteJSON(o.DefaultResponse) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJAccountFetchEmailFrequencyIDOKBodyAO1) return swag.ConcatJSON(_parts...), nil }
// MarshalJSON marshals this object to a JSON structure func (o PostRemoteAPIJTagFetchFollowingWithRelationshipIDOKBody) MarshalJSON() ([]byte, error) { var _parts [][]byte postRemoteAPIJTagFetchFollowingWithRelationshipIDOKBodyAO0, err := swag.WriteJSON(o.JTag) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJTagFetchFollowingWithRelationshipIDOKBodyAO0) postRemoteAPIJTagFetchFollowingWithRelationshipIDOKBodyAO1, err := swag.WriteJSON(o.DefaultResponse) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJTagFetchFollowingWithRelationshipIDOKBodyAO1) return swag.ConcatJSON(_parts...), nil }
// YAMLToJSON converts YAML unmarshaled data into json compatible data func YAMLToJSON(data interface{}) (json.RawMessage, error) { jm, err := transformData(data) if err != nil { return nil, err } b, err := swag.WriteJSON(jm) return json.RawMessage(b), err }
// MarshalJSON marshals this object to a JSON structure func (o PostRemoteAPIJCredentialFetchUsersIDOKBody) MarshalJSON() ([]byte, error) { var _parts [][]byte postRemoteAPIJCredentialFetchUsersIDOKBodyAO0, err := swag.WriteJSON(o.JCredential) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJCredentialFetchUsersIDOKBodyAO0) postRemoteAPIJCredentialFetchUsersIDOKBodyAO1, err := swag.WriteJSON(o.DefaultResponse) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJCredentialFetchUsersIDOKBodyAO1) return swag.ConcatJSON(_parts...), nil }
// MarshalJSON marshals this object to a JSON structure func (o PostRemoteAPIJRewardCampaignRemoveIDOKBody) MarshalJSON() ([]byte, error) { var _parts [][]byte postRemoteAPIJRewardCampaignRemoveIDOKBodyAO0, err := swag.WriteJSON(o.JRewardCampaign) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJRewardCampaignRemoveIDOKBodyAO0) postRemoteAPIJRewardCampaignRemoveIDOKBodyAO1, err := swag.WriteJSON(o.DefaultResponse) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJRewardCampaignRemoveIDOKBodyAO1) return swag.ConcatJSON(_parts...), nil }
// MarshalJSON marshals this object to a JSON structure func (o PostRemoteAPIJStackTemplateForceStacksToReinitIDOKBody) MarshalJSON() ([]byte, error) { var _parts [][]byte postRemoteAPIJStackTemplateForceStacksToReinitIDOKBodyAO0, err := swag.WriteJSON(o.JStackTemplate) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJStackTemplateForceStacksToReinitIDOKBodyAO0) postRemoteAPIJStackTemplateForceStacksToReinitIDOKBodyAO1, err := swag.WriteJSON(o.DefaultResponse) if err != nil { return nil, err } _parts = append(_parts, postRemoteAPIJStackTemplateForceStacksToReinitIDOKBodyAO1) return swag.ConcatJSON(_parts...), nil }