// Code generated by Fern. DO NOT EDIT.

package management

import (
	json "encoding/json"
	fmt "fmt"
	internal "github.com/auth0/go-auth0/v2/management/internal"
	big "math/big"
)

// Custom color settings.
var (
	brandingColorsFieldPrimary        = big.NewInt(1 << 0)
	brandingColorsFieldPageBackground = big.NewInt(1 << 1)
)

type BrandingColors struct {
	// Accent color.
	Primary        *string                 `json:"primary,omitempty" url:"primary,omitempty"`
	PageBackground *BrandingPageBackground `json:"page_background,omitempty" url:"page_background,omitempty"`

	// Private bitmask of fields set to an explicit value and therefore not to be omitted
	explicitFields *big.Int `json:"-" url:"-"`

	extraProperties map[string]interface{}
	rawJSON         json.RawMessage
}

func (b *BrandingColors) GetPrimary() string {
	if b == nil || b.Primary == nil {
		return ""
	}
	return *b.Primary
}

func (b *BrandingColors) GetPageBackground() BrandingPageBackground {
	if b == nil || b.PageBackground == nil {
		return BrandingPageBackground{}
	}
	return *b.PageBackground
}

func (b *BrandingColors) GetExtraProperties() map[string]interface{} {
	return b.extraProperties
}

func (b *BrandingColors) require(field *big.Int) {
	if b.explicitFields == nil {
		b.explicitFields = big.NewInt(0)
	}
	b.explicitFields.Or(b.explicitFields, field)
}

// SetPrimary sets the Primary field and marks it as non-optional;
// this prevents an empty or null value for this field from being omitted during serialization.
func (b *BrandingColors) SetPrimary(primary *string) {
	b.Primary = primary
	b.require(brandingColorsFieldPrimary)
}

// SetPageBackground sets the PageBackground field and marks it as non-optional;
// this prevents an empty or null value for this field from being omitted during serialization.
func (b *BrandingColors) SetPageBackground(pageBackground *BrandingPageBackground) {
	b.PageBackground = pageBackground
	b.require(brandingColorsFieldPageBackground)
}

func (b *BrandingColors) UnmarshalJSON(data []byte) error {
	type unmarshaler BrandingColors
	var value unmarshaler
	if err := json.Unmarshal(data, &value); err != nil {
		return err
	}
	*b = BrandingColors(value)
	extraProperties, err := internal.ExtractExtraProperties(data, *b)
	if err != nil {
		return err
	}
	b.extraProperties = extraProperties
	b.rawJSON = json.RawMessage(data)
	return nil
}

func (b *BrandingColors) MarshalJSON() ([]byte, error) {
	type embed BrandingColors
	var marshaler = struct {
		embed
	}{
		embed: embed(*b),
	}
	explicitMarshaler := internal.HandleExplicitFields(marshaler, b.explicitFields)
	return json.Marshal(explicitMarshaler)
}

func (b *BrandingColors) String() string {
	if len(b.rawJSON) > 0 {
		if value, err := internal.StringifyJSON(b.rawJSON); err == nil {
			return value
		}
	}
	if value, err := internal.StringifyJSON(b); err == nil {
		return value
	}
	return fmt.Sprintf("%#v", b)
}

// Custom font settings.
var (
	brandingFontFieldURL = big.NewInt(1 << 0)
)

type BrandingFont struct {
	// URL for the custom font. The URL must point to a font file and not a stylesheet. Must use HTTPS.
	URL *string `json:"url,omitempty" url:"url,omitempty"`

	// Private bitmask of fields set to an explicit value and therefore not to be omitted
	explicitFields *big.Int `json:"-" url:"-"`

	extraProperties map[string]interface{}
	rawJSON         json.RawMessage
}

func (b *BrandingFont) GetURL() string {
	if b == nil || b.URL == nil {
		return ""
	}
	return *b.URL
}

func (b *BrandingFont) GetExtraProperties() map[string]interface{} {
	return b.extraProperties
}

func (b *BrandingFont) require(field *big.Int) {
	if b.explicitFields == nil {
		b.explicitFields = big.NewInt(0)
	}
	b.explicitFields.Or(b.explicitFields, field)
}

// SetURL sets the URL field and marks it as non-optional;
// this prevents an empty or null value for this field from being omitted during serialization.
func (b *BrandingFont) SetURL(url *string) {
	b.URL = url
	b.require(brandingFontFieldURL)
}

func (b *BrandingFont) UnmarshalJSON(data []byte) error {
	type unmarshaler BrandingFont
	var value unmarshaler
	if err := json.Unmarshal(data, &value); err != nil {
		return err
	}
	*b = BrandingFont(value)
	extraProperties, err := internal.ExtractExtraProperties(data, *b)
	if err != nil {
		return err
	}
	b.extraProperties = extraProperties
	b.rawJSON = json.RawMessage(data)
	return nil
}

func (b *BrandingFont) MarshalJSON() ([]byte, error) {
	type embed BrandingFont
	var marshaler = struct {
		embed
	}{
		embed: embed(*b),
	}
	explicitMarshaler := internal.HandleExplicitFields(marshaler, b.explicitFields)
	return json.Marshal(explicitMarshaler)
}

func (b *BrandingFont) String() string {
	if len(b.rawJSON) > 0 {
		if value, err := internal.StringifyJSON(b.rawJSON); err == nil {
			return value
		}
	}
	if value, err := internal.StringifyJSON(b); err == nil {
		return value
	}
	return fmt.Sprintf("%#v", b)
}

// Page Background Color or Gradient.
// Property contains either <code>null</code> to unset, a solid color as a string value <code>#FFFFFF</code>, or a gradient as an object.
//
// <pre><code>
//
//	{
//	  type: 'linear-gradient',
//	  start: '#FFFFFF',
//	  end: '#000000',
//	  angle_deg: 35
//	}
//
// </code></pre>
type BrandingPageBackground struct {
	StringOptional           *string
	StringUnknownMapOptional map[string]interface{}

	typ string
}

func (b *BrandingPageBackground) GetStringOptional() string {
	if b == nil || b.StringOptional == nil {
		return ""
	}
	return *b.StringOptional
}

func (b *BrandingPageBackground) GetStringUnknownMapOptional() map[string]interface{} {
	if b == nil || b.StringUnknownMapOptional == nil {
		return nil
	}
	return b.StringUnknownMapOptional
}

func (b *BrandingPageBackground) UnmarshalJSON(data []byte) error {
	var valueStringOptional *string
	if err := json.Unmarshal(data, &valueStringOptional); err == nil {
		b.typ = "StringOptional"
		b.StringOptional = valueStringOptional
		return nil
	}
	var valueStringUnknownMapOptional map[string]interface{}
	if err := json.Unmarshal(data, &valueStringUnknownMapOptional); err == nil {
		b.typ = "StringUnknownMapOptional"
		b.StringUnknownMapOptional = valueStringUnknownMapOptional
		return nil
	}
	return fmt.Errorf("%s cannot be deserialized as a %T", data, b)
}

func (b BrandingPageBackground) MarshalJSON() ([]byte, error) {
	if b.typ == "StringOptional" || b.StringOptional != nil {
		return json.Marshal(b.StringOptional)
	}
	if b.typ == "StringUnknownMapOptional" || b.StringUnknownMapOptional != nil {
		return json.Marshal(b.StringUnknownMapOptional)
	}
	return nil, fmt.Errorf("type %T does not include a non-empty union type", b)
}

type BrandingPageBackgroundVisitor interface {
	VisitStringOptional(*string) error
	VisitStringUnknownMapOptional(map[string]interface{}) error
}

func (b *BrandingPageBackground) Accept(visitor BrandingPageBackgroundVisitor) error {
	if b.typ == "StringOptional" || b.StringOptional != nil {
		return visitor.VisitStringOptional(b.StringOptional)
	}
	if b.typ == "StringUnknownMapOptional" || b.StringUnknownMapOptional != nil {
		return visitor.VisitStringUnknownMapOptional(b.StringUnknownMapOptional)
	}
	return fmt.Errorf("type %T does not include a non-empty union type", b)
}

var (
	getBrandingResponseContentFieldColors     = big.NewInt(1 << 0)
	getBrandingResponseContentFieldFaviconURL = big.NewInt(1 << 1)
	getBrandingResponseContentFieldLogoURL    = big.NewInt(1 << 2)
	getBrandingResponseContentFieldFont       = big.NewInt(1 << 3)
)

type GetBrandingResponseContent struct {
	Colors *BrandingColors `json:"colors,omitempty" url:"colors,omitempty"`
	// URL for the favicon. Must use HTTPS.
	FaviconURL *string `json:"favicon_url,omitempty" url:"favicon_url,omitempty"`
	// URL for the logo. Must use HTTPS.
	LogoURL *string       `json:"logo_url,omitempty" url:"logo_url,omitempty"`
	Font    *BrandingFont `json:"font,omitempty" url:"font,omitempty"`

	// Private bitmask of fields set to an explicit value and therefore not to be omitted
	explicitFields *big.Int `json:"-" url:"-"`

	ExtraProperties map[string]interface{} `json:"-" url:"-"`

	rawJSON json.RawMessage
}

func (g *GetBrandingResponseContent) GetColors() BrandingColors {
	if g == nil || g.Colors == nil {
		return BrandingColors{}
	}
	return *g.Colors
}

func (g *GetBrandingResponseContent) GetFaviconURL() string {
	if g == nil || g.FaviconURL == nil {
		return ""
	}
	return *g.FaviconURL
}

func (g *GetBrandingResponseContent) GetLogoURL() string {
	if g == nil || g.LogoURL == nil {
		return ""
	}
	return *g.LogoURL
}

func (g *GetBrandingResponseContent) GetFont() BrandingFont {
	if g == nil || g.Font == nil {
		return BrandingFont{}
	}
	return *g.Font
}

func (g *GetBrandingResponseContent) GetExtraProperties() map[string]interface{} {
	return g.ExtraProperties
}

func (g *GetBrandingResponseContent) require(field *big.Int) {
	if g.explicitFields == nil {
		g.explicitFields = big.NewInt(0)
	}
	g.explicitFields.Or(g.explicitFields, field)
}

// SetColors sets the Colors field and marks it as non-optional;
// this prevents an empty or null value for this field from being omitted during serialization.
func (g *GetBrandingResponseContent) SetColors(colors *BrandingColors) {
	g.Colors = colors
	g.require(getBrandingResponseContentFieldColors)
}

// SetFaviconURL sets the FaviconURL field and marks it as non-optional;
// this prevents an empty or null value for this field from being omitted during serialization.
func (g *GetBrandingResponseContent) SetFaviconURL(faviconURL *string) {
	g.FaviconURL = faviconURL
	g.require(getBrandingResponseContentFieldFaviconURL)
}

// SetLogoURL sets the LogoURL field and marks it as non-optional;
// this prevents an empty or null value for this field from being omitted during serialization.
func (g *GetBrandingResponseContent) SetLogoURL(logoURL *string) {
	g.LogoURL = logoURL
	g.require(getBrandingResponseContentFieldLogoURL)
}

// SetFont sets the Font field and marks it as non-optional;
// this prevents an empty or null value for this field from being omitted during serialization.
func (g *GetBrandingResponseContent) SetFont(font *BrandingFont) {
	g.Font = font
	g.require(getBrandingResponseContentFieldFont)
}

func (g *GetBrandingResponseContent) UnmarshalJSON(data []byte) error {
	type embed GetBrandingResponseContent
	var unmarshaler = struct {
		embed
	}{
		embed: embed(*g),
	}
	if err := json.Unmarshal(data, &unmarshaler); err != nil {
		return err
	}
	*g = GetBrandingResponseContent(unmarshaler.embed)
	extraProperties, err := internal.ExtractExtraProperties(data, *g)
	if err != nil {
		return err
	}
	g.ExtraProperties = extraProperties
	g.rawJSON = json.RawMessage(data)
	return nil
}

func (g *GetBrandingResponseContent) MarshalJSON() ([]byte, error) {
	type embed GetBrandingResponseContent
	var marshaler = struct {
		embed
	}{
		embed: embed(*g),
	}
	explicitMarshaler := internal.HandleExplicitFields(marshaler, g.explicitFields)
	return internal.MarshalJSONWithExtraProperties(explicitMarshaler, g.ExtraProperties)
}

func (g *GetBrandingResponseContent) String() string {
	if len(g.rawJSON) > 0 {
		if value, err := internal.StringifyJSON(g.rawJSON); err == nil {
			return value
		}
	}
	if value, err := internal.StringifyJSON(g); err == nil {
		return value
	}
	return fmt.Sprintf("%#v", g)
}

// Custom color settings.
var (
	updateBrandingColorsFieldPrimary        = big.NewInt(1 << 0)
	updateBrandingColorsFieldPageBackground = big.NewInt(1 << 1)
)

type UpdateBrandingColors struct {
	// Accent color.
	Primary        *string                       `json:"primary,omitempty" url:"primary,omitempty"`
	PageBackground *UpdateBrandingPageBackground `json:"page_background,omitempty" url:"page_background,omitempty"`

	// Private bitmask of fields set to an explicit value and therefore not to be omitted
	explicitFields *big.Int `json:"-" url:"-"`

	extraProperties map[string]interface{}
	rawJSON         json.RawMessage
}

func (u *UpdateBrandingColors) GetPrimary() string {
	if u == nil || u.Primary == nil {
		return ""
	}
	return *u.Primary
}

func (u *UpdateBrandingColors) GetPageBackground() UpdateBrandingPageBackground {
	if u == nil || u.PageBackground == nil {
		return UpdateBrandingPageBackground{}
	}
	return *u.PageBackground
}

func (u *UpdateBrandingColors) GetExtraProperties() map[string]interface{} {
	return u.extraProperties
}

func (u *UpdateBrandingColors) require(field *big.Int) {
	if u.explicitFields == nil {
		u.explicitFields = big.NewInt(0)
	}
	u.explicitFields.Or(u.explicitFields, field)
}

// SetPrimary sets the Primary field and marks it as non-optional;
// this prevents an empty or null value for this field from being omitted during serialization.
func (u *UpdateBrandingColors) SetPrimary(primary *string) {
	u.Primary = primary
	u.require(updateBrandingColorsFieldPrimary)
}

// SetPageBackground sets the PageBackground field and marks it as non-optional;
// this prevents an empty or null value for this field from being omitted during serialization.
func (u *UpdateBrandingColors) SetPageBackground(pageBackground *UpdateBrandingPageBackground) {
	u.PageBackground = pageBackground
	u.require(updateBrandingColorsFieldPageBackground)
}

func (u *UpdateBrandingColors) UnmarshalJSON(data []byte) error {
	type unmarshaler UpdateBrandingColors
	var value unmarshaler
	if err := json.Unmarshal(data, &value); err != nil {
		return err
	}
	*u = UpdateBrandingColors(value)
	extraProperties, err := internal.ExtractExtraProperties(data, *u)
	if err != nil {
		return err
	}
	u.extraProperties = extraProperties
	u.rawJSON = json.RawMessage(data)
	return nil
}

func (u *UpdateBrandingColors) MarshalJSON() ([]byte, error) {
	type embed UpdateBrandingColors
	var marshaler = struct {
		embed
	}{
		embed: embed(*u),
	}
	explicitMarshaler := internal.HandleExplicitFields(marshaler, u.explicitFields)
	return json.Marshal(explicitMarshaler)
}

func (u *UpdateBrandingColors) String() string {
	if len(u.rawJSON) > 0 {
		if value, err := internal.StringifyJSON(u.rawJSON); err == nil {
			return value
		}
	}
	if value, err := internal.StringifyJSON(u); err == nil {
		return value
	}
	return fmt.Sprintf("%#v", u)
}

// Custom font settings.
var (
	updateBrandingFontFieldURL = big.NewInt(1 << 0)
)

type UpdateBrandingFont struct {
	// URL for the custom font. The URL must point to a font file and not a stylesheet. Must use HTTPS.
	URL *string `json:"url,omitempty" url:"url,omitempty"`

	// Private bitmask of fields set to an explicit value and therefore not to be omitted
	explicitFields *big.Int `json:"-" url:"-"`

	extraProperties map[string]interface{}
	rawJSON         json.RawMessage
}

func (u *UpdateBrandingFont) GetURL() string {
	if u == nil || u.URL == nil {
		return ""
	}
	return *u.URL
}

func (u *UpdateBrandingFont) GetExtraProperties() map[string]interface{} {
	return u.extraProperties
}

func (u *UpdateBrandingFont) require(field *big.Int) {
	if u.explicitFields == nil {
		u.explicitFields = big.NewInt(0)
	}
	u.explicitFields.Or(u.explicitFields, field)
}

// SetURL sets the URL field and marks it as non-optional;
// this prevents an empty or null value for this field from being omitted during serialization.
func (u *UpdateBrandingFont) SetURL(url *string) {
	u.URL = url
	u.require(updateBrandingFontFieldURL)
}

func (u *UpdateBrandingFont) UnmarshalJSON(data []byte) error {
	type unmarshaler UpdateBrandingFont
	var value unmarshaler
	if err := json.Unmarshal(data, &value); err != nil {
		return err
	}
	*u = UpdateBrandingFont(value)
	extraProperties, err := internal.ExtractExtraProperties(data, *u)
	if err != nil {
		return err
	}
	u.extraProperties = extraProperties
	u.rawJSON = json.RawMessage(data)
	return nil
}

func (u *UpdateBrandingFont) MarshalJSON() ([]byte, error) {
	type embed UpdateBrandingFont
	var marshaler = struct {
		embed
	}{
		embed: embed(*u),
	}
	explicitMarshaler := internal.HandleExplicitFields(marshaler, u.explicitFields)
	return json.Marshal(explicitMarshaler)
}

func (u *UpdateBrandingFont) String() string {
	if len(u.rawJSON) > 0 {
		if value, err := internal.StringifyJSON(u.rawJSON); err == nil {
			return value
		}
	}
	if value, err := internal.StringifyJSON(u); err == nil {
		return value
	}
	return fmt.Sprintf("%#v", u)
}

// Page Background Color or Gradient.
// Property contains either <code>null</code> to unset, a solid color as a string value <code>#FFFFFF</code>, or a gradient as an object.
//
// <pre><code>
//
//	{
//	  type: 'linear-gradient',
//	  start: '#FFFFFF',
//	  end: '#000000',
//	  angle_deg: 35
//	}
//
// </code></pre>
type UpdateBrandingPageBackground struct {
	StringOptional           *string
	StringUnknownMapOptional map[string]interface{}

	typ string
}

func (u *UpdateBrandingPageBackground) GetStringOptional() string {
	if u == nil || u.StringOptional == nil {
		return ""
	}
	return *u.StringOptional
}

func (u *UpdateBrandingPageBackground) GetStringUnknownMapOptional() map[string]interface{} {
	if u == nil || u.StringUnknownMapOptional == nil {
		return nil
	}
	return u.StringUnknownMapOptional
}

func (u *UpdateBrandingPageBackground) UnmarshalJSON(data []byte) error {
	var valueStringOptional *string
	if err := json.Unmarshal(data, &valueStringOptional); err == nil {
		u.typ = "StringOptional"
		u.StringOptional = valueStringOptional
		return nil
	}
	var valueStringUnknownMapOptional map[string]interface{}
	if err := json.Unmarshal(data, &valueStringUnknownMapOptional); err == nil {
		u.typ = "StringUnknownMapOptional"
		u.StringUnknownMapOptional = valueStringUnknownMapOptional
		return nil
	}
	return fmt.Errorf("%s cannot be deserialized as a %T", data, u)
}

func (u UpdateBrandingPageBackground) MarshalJSON() ([]byte, error) {
	if u.typ == "StringOptional" || u.StringOptional != nil {
		return json.Marshal(u.StringOptional)
	}
	if u.typ == "StringUnknownMapOptional" || u.StringUnknownMapOptional != nil {
		return json.Marshal(u.StringUnknownMapOptional)
	}
	return nil, fmt.Errorf("type %T does not include a non-empty union type", u)
}

type UpdateBrandingPageBackgroundVisitor interface {
	VisitStringOptional(*string) error
	VisitStringUnknownMapOptional(map[string]interface{}) error
}

func (u *UpdateBrandingPageBackground) Accept(visitor UpdateBrandingPageBackgroundVisitor) error {
	if u.typ == "StringOptional" || u.StringOptional != nil {
		return visitor.VisitStringOptional(u.StringOptional)
	}
	if u.typ == "StringUnknownMapOptional" || u.StringUnknownMapOptional != nil {
		return visitor.VisitStringUnknownMapOptional(u.StringUnknownMapOptional)
	}
	return fmt.Errorf("type %T does not include a non-empty union type", u)
}

var (
	updateBrandingResponseContentFieldColors     = big.NewInt(1 << 0)
	updateBrandingResponseContentFieldFaviconURL = big.NewInt(1 << 1)
	updateBrandingResponseContentFieldLogoURL    = big.NewInt(1 << 2)
	updateBrandingResponseContentFieldFont       = big.NewInt(1 << 3)
)

type UpdateBrandingResponseContent struct {
	Colors *BrandingColors `json:"colors,omitempty" url:"colors,omitempty"`
	// URL for the favicon. Must use HTTPS.
	FaviconURL *string `json:"favicon_url,omitempty" url:"favicon_url,omitempty"`
	// URL for the logo. Must use HTTPS.
	LogoURL *string       `json:"logo_url,omitempty" url:"logo_url,omitempty"`
	Font    *BrandingFont `json:"font,omitempty" url:"font,omitempty"`

	// Private bitmask of fields set to an explicit value and therefore not to be omitted
	explicitFields *big.Int `json:"-" url:"-"`

	ExtraProperties map[string]interface{} `json:"-" url:"-"`

	rawJSON json.RawMessage
}

func (u *UpdateBrandingResponseContent) GetColors() BrandingColors {
	if u == nil || u.Colors == nil {
		return BrandingColors{}
	}
	return *u.Colors
}

func (u *UpdateBrandingResponseContent) GetFaviconURL() string {
	if u == nil || u.FaviconURL == nil {
		return ""
	}
	return *u.FaviconURL
}

func (u *UpdateBrandingResponseContent) GetLogoURL() string {
	if u == nil || u.LogoURL == nil {
		return ""
	}
	return *u.LogoURL
}

func (u *UpdateBrandingResponseContent) GetFont() BrandingFont {
	if u == nil || u.Font == nil {
		return BrandingFont{}
	}
	return *u.Font
}

func (u *UpdateBrandingResponseContent) GetExtraProperties() map[string]interface{} {
	return u.ExtraProperties
}

func (u *UpdateBrandingResponseContent) require(field *big.Int) {
	if u.explicitFields == nil {
		u.explicitFields = big.NewInt(0)
	}
	u.explicitFields.Or(u.explicitFields, field)
}

// SetColors sets the Colors field and marks it as non-optional;
// this prevents an empty or null value for this field from being omitted during serialization.
func (u *UpdateBrandingResponseContent) SetColors(colors *BrandingColors) {
	u.Colors = colors
	u.require(updateBrandingResponseContentFieldColors)
}

// SetFaviconURL sets the FaviconURL field and marks it as non-optional;
// this prevents an empty or null value for this field from being omitted during serialization.
func (u *UpdateBrandingResponseContent) SetFaviconURL(faviconURL *string) {
	u.FaviconURL = faviconURL
	u.require(updateBrandingResponseContentFieldFaviconURL)
}

// SetLogoURL sets the LogoURL field and marks it as non-optional;
// this prevents an empty or null value for this field from being omitted during serialization.
func (u *UpdateBrandingResponseContent) SetLogoURL(logoURL *string) {
	u.LogoURL = logoURL
	u.require(updateBrandingResponseContentFieldLogoURL)
}

// SetFont sets the Font field and marks it as non-optional;
// this prevents an empty or null value for this field from being omitted during serialization.
func (u *UpdateBrandingResponseContent) SetFont(font *BrandingFont) {
	u.Font = font
	u.require(updateBrandingResponseContentFieldFont)
}

func (u *UpdateBrandingResponseContent) UnmarshalJSON(data []byte) error {
	type embed UpdateBrandingResponseContent
	var unmarshaler = struct {
		embed
	}{
		embed: embed(*u),
	}
	if err := json.Unmarshal(data, &unmarshaler); err != nil {
		return err
	}
	*u = UpdateBrandingResponseContent(unmarshaler.embed)
	extraProperties, err := internal.ExtractExtraProperties(data, *u)
	if err != nil {
		return err
	}
	u.ExtraProperties = extraProperties
	u.rawJSON = json.RawMessage(data)
	return nil
}

func (u *UpdateBrandingResponseContent) MarshalJSON() ([]byte, error) {
	type embed UpdateBrandingResponseContent
	var marshaler = struct {
		embed
	}{
		embed: embed(*u),
	}
	explicitMarshaler := internal.HandleExplicitFields(marshaler, u.explicitFields)
	return internal.MarshalJSONWithExtraProperties(explicitMarshaler, u.ExtraProperties)
}

func (u *UpdateBrandingResponseContent) String() string {
	if len(u.rawJSON) > 0 {
		if value, err := internal.StringifyJSON(u.rawJSON); err == nil {
			return value
		}
	}
	if value, err := internal.StringifyJSON(u); err == nil {
		return value
	}
	return fmt.Sprintf("%#v", u)
}
