/*
Configuration API

API version: 2
*/

// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

package balanceplatform

import (
	"encoding/json"

	"github.com/adyen/adyen-go-api-library/v21/src/common"
)

// checks if the AssociationDelegatedAuthenticationData type satisfies the MappedNullable interface at compile time
var _ common.MappedNullable = &AssociationDelegatedAuthenticationData{}

// AssociationDelegatedAuthenticationData struct for AssociationDelegatedAuthenticationData
type AssociationDelegatedAuthenticationData struct {
	// A base64-encoded block with the data required to authenticate the request. You obtain this information by using our authentication SDK.
	SdkOutput string `json:"sdkOutput"`
}

// NewAssociationDelegatedAuthenticationData instantiates a new AssociationDelegatedAuthenticationData object
// This constructor will assign default values to properties that have it defined,
// and makes sure properties required by API are set, but the set of arguments
// will change when the set of required properties is changed
func NewAssociationDelegatedAuthenticationData(sdkOutput string) *AssociationDelegatedAuthenticationData {
	this := AssociationDelegatedAuthenticationData{}
	this.SdkOutput = sdkOutput
	return &this
}

// NewAssociationDelegatedAuthenticationDataWithDefaults instantiates a new AssociationDelegatedAuthenticationData object
// This constructor will only assign default values to properties that have it defined,
// but it doesn't guarantee that properties required by API are set
func NewAssociationDelegatedAuthenticationDataWithDefaults() *AssociationDelegatedAuthenticationData {
	this := AssociationDelegatedAuthenticationData{}
	return &this
}

// GetSdkOutput returns the SdkOutput field value
func (o *AssociationDelegatedAuthenticationData) GetSdkOutput() string {
	if o == nil {
		var ret string
		return ret
	}

	return o.SdkOutput
}

// GetSdkOutputOk returns a tuple with the SdkOutput field value
// and a boolean to check if the value has been set.
func (o *AssociationDelegatedAuthenticationData) GetSdkOutputOk() (*string, bool) {
	if o == nil {
		return nil, false
	}
	return &o.SdkOutput, true
}

// SetSdkOutput sets field value
func (o *AssociationDelegatedAuthenticationData) SetSdkOutput(v string) {
	o.SdkOutput = v
}

func (o AssociationDelegatedAuthenticationData) MarshalJSON() ([]byte, error) {
	toSerialize, err := o.ToMap()
	if err != nil {
		return []byte{}, err
	}
	return json.Marshal(toSerialize)
}

func (o AssociationDelegatedAuthenticationData) ToMap() (map[string]interface{}, error) {
	toSerialize := map[string]interface{}{}
	toSerialize["sdkOutput"] = o.SdkOutput
	return toSerialize, nil
}

type NullableAssociationDelegatedAuthenticationData struct {
	value *AssociationDelegatedAuthenticationData
	isSet bool
}

func (v NullableAssociationDelegatedAuthenticationData) Get() *AssociationDelegatedAuthenticationData {
	return v.value
}

func (v *NullableAssociationDelegatedAuthenticationData) Set(val *AssociationDelegatedAuthenticationData) {
	v.value = val
	v.isSet = true
}

func (v NullableAssociationDelegatedAuthenticationData) IsSet() bool {
	return v.isSet
}

func (v *NullableAssociationDelegatedAuthenticationData) Unset() {
	v.value = nil
	v.isSet = false
}

func NewNullableAssociationDelegatedAuthenticationData(val *AssociationDelegatedAuthenticationData) *NullableAssociationDelegatedAuthenticationData {
	return &NullableAssociationDelegatedAuthenticationData{value: val, isSet: true}
}

func (v NullableAssociationDelegatedAuthenticationData) MarshalJSON() ([]byte, error) {
	return json.Marshal(v.value)
}

func (v *NullableAssociationDelegatedAuthenticationData) UnmarshalJSON(src []byte) error {
	v.isSet = true
	return json.Unmarshal(src, &v.value)
}
