// Code generated by go-swagger; DO NOT EDIT. // All Code Copyright(c) 2018-2021 by Taxnexus, Inc. // All rights reserved worldwide. // Proprietary product; unlicensed use is not allowed package blaze_models // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "context" "strconv" "github.com/go-openapi/errors" "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" ) // MemberResponse member response // // swagger:model MemberResponse type MemberResponse struct { // active transaction // Example: 0 ActiveTransaction float64 `json:"activeTransaction,omitempty"` // address Address *MemberResponseAddress `json:"address,omitempty"` // addresses // Example: ["string"] Addresses []string `json:"addresses"` // agreement expired // Example: false AgreementExpired bool `json:"agreementExpired,omitempty"` // anonymous // Example: false Anonymous bool `json:"anonymous,omitempty"` // ban patient // Example: false BanPatient bool `json:"banPatient,omitempty"` // cannabis result // Example: string CannabisResult string `json:"cannabisResult,omitempty"` // care giver list // Example: ["string"] CareGiverList []string `json:"careGiverList"` // care givers // Example: ["string"] CareGivers []string `json:"careGivers"` // company Id // Example: 5cabd4ba6218d148395b402c CompanyID string `json:"companyId,omitempty"` // consumer type // Example: AdultUse ConsumerType string `json:"consumerType,omitempty"` // consumer user Id // Example: string ConsumerUserID string `json:"consumerUserId,omitempty"` // contracts // Example: ["string"] Contracts []string `json:"contracts"` // created // Example: 1554826014780 Created int64 `json:"created,omitempty"` // current cannabis limit // Example: string CurrentCannabisLimit string `json:"currentCannabisLimit,omitempty"` // deleted // Example: false Deleted bool `json:"deleted,omitempty"` // dirty // Example: false Dirty bool `json:"dirty,omitempty"` // dl expired // Example: false DlExpired bool `json:"dlExpired,omitempty"` // dob // Example: 631180800000 Dob float64 `json:"dob,omitempty"` // email // Example: hokus@taxnexus.net Email string `json:"email,omitempty"` // email opt in // Example: true EmailOptIn bool `json:"emailOptIn,omitempty"` // email verified // Example: false EmailVerified bool `json:"emailVerified,omitempty"` // enable loyalty // Example: true EnableLoyalty bool `json:"enableLoyalty,omitempty"` // enabled care giver // Example: false EnabledCareGiver bool `json:"enabledCareGiver,omitempty"` // exp statuses // Example: ["string"] ExpStatuses []string `json:"expStatuses"` // first name // Example: Hokus FirstName string `json:"firstName,omitempty"` // id // Example: 5cacc31e6218d174d3f17b70 ID string `json:"id,omitempty"` // identifications Identifications []*MemberResponseIdentificationsItems0 `json:"identifications"` // import Id // Example: string ImportID string `json:"importId,omitempty"` // in queue // Example: false InQueue bool `json:"inQueue,omitempty"` // last name // Example: Pokus LastName string `json:"lastName,omitempty"` // last visit date // Example: 1554826633661 LastVisitDate int64 `json:"lastVisitDate,omitempty"` // lifetime points // Example: 0 LifetimePoints float64 `json:"lifetimePoints,omitempty"` // loyalty points // Example: 0 LoyaltyPoints float64 `json:"loyaltyPoints,omitempty"` // marketing source MarketingSource string `json:"marketingSource,omitempty"` // medical // Example: false Medical bool `json:"medical,omitempty"` // member activities // Example: ["string"] MemberActivities []string `json:"memberActivities"` // member group MemberGroup *MemberResponseMemberGroup `json:"memberGroup,omitempty"` // member group Id // Example: 5cabd4ba6218d148395b404b MemberGroupID string `json:"memberGroupId,omitempty"` // middle name // Example: string MiddleName string `json:"middleName,omitempty"` // modified // Example: 1554826633661 Modified int64 `json:"modified,omitempty"` // notes // Example: ["string"] Notes []string `json:"notes"` // preferences // Example: ["string"] Preferences []string `json:"preferences"` // primary phone // Example: (510) 859-7000 PrimaryPhone string `json:"primaryPhone,omitempty"` // qb customer ref // Example: ["string"] QbCustomerRef []string `json:"qbCustomerRef"` // qb desktop customer ref // Example: string QbDesktopCustomerRef string `json:"qbDesktopCustomerRef,omitempty"` // recent products // Example: ["Binsky Flower","Tommy's Bong"] RecentProducts []string `json:"recentProducts"` // recommendation expired // Example: true RecommendationExpired bool `json:"recommendationExpired,omitempty"` // recommendation expiry left // Example: 0 RecommendationExpiryLeft float64 `json:"recommendationExpiryLeft,omitempty"` // recommendations Recommendations []*MemberResponseRecommendationsItems0 `json:"recommendations"` // region Id // Example: string RegionID string `json:"regionId,omitempty"` // search text // Example: hokus pokus 5125 miles ave hokus@taxnexus.net (510) 859-7000 delivery SearchText string `json:"searchText,omitempty"` // sex // Example: 0 Sex float64 `json:"sex,omitempty"` // shop Id // Example: 5cabd4ba6218d148395b4043 ShopID string `json:"shopId,omitempty"` // start date // Example: 1554826014781 StartDate int64 `json:"startDate,omitempty"` // state cannabis limit // Example: string StateCannabisLimit string `json:"stateCannabisLimit,omitempty"` // status // Example: Active Status string `json:"status,omitempty"` // tags // Example: ["string"] Tags []string `json:"tags"` // text opt in // Example: true TextOptIn bool `json:"textOptIn,omitempty"` // updated // Example: false Updated bool `json:"updated,omitempty"` } // Validate validates this member response func (m *MemberResponse) Validate(formats strfmt.Registry) error { var res []error if err := m.validateAddress(formats); err != nil { res = append(res, err) } if err := m.validateIdentifications(formats); err != nil { res = append(res, err) } if err := m.validateMemberGroup(formats); err != nil { res = append(res, err) } if err := m.validateRecommendations(formats); err != nil { res = append(res, err) } if len(res) > 0 { return errors.CompositeValidationError(res...) } return nil } func (m *MemberResponse) validateAddress(formats strfmt.Registry) error { if swag.IsZero(m.Address) { // not required return nil } if m.Address != nil { if err := m.Address.Validate(formats); err != nil { if ve, ok := err.(*errors.Validation); ok { return ve.ValidateName("address") } return err } } return nil } func (m *MemberResponse) validateIdentifications(formats strfmt.Registry) error { if swag.IsZero(m.Identifications) { // not required return nil } for i := 0; i < len(m.Identifications); i++ { if swag.IsZero(m.Identifications[i]) { // not required continue } if m.Identifications[i] != nil { if err := m.Identifications[i].Validate(formats); err != nil { if ve, ok := err.(*errors.Validation); ok { return ve.ValidateName("identifications" + "." + strconv.Itoa(i)) } return err } } } return nil } func (m *MemberResponse) validateMemberGroup(formats strfmt.Registry) error { if swag.IsZero(m.MemberGroup) { // not required return nil } if m.MemberGroup != nil { if err := m.MemberGroup.Validate(formats); err != nil { if ve, ok := err.(*errors.Validation); ok { return ve.ValidateName("memberGroup") } return err } } return nil } func (m *MemberResponse) validateRecommendations(formats strfmt.Registry) error { if swag.IsZero(m.Recommendations) { // not required return nil } for i := 0; i < len(m.Recommendations); i++ { if swag.IsZero(m.Recommendations[i]) { // not required continue } if m.Recommendations[i] != nil { if err := m.Recommendations[i].Validate(formats); err != nil { if ve, ok := err.(*errors.Validation); ok { return ve.ValidateName("recommendations" + "." + strconv.Itoa(i)) } return err } } } return nil } // ContextValidate validate this member response based on the context it is used func (m *MemberResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error { var res []error if err := m.contextValidateAddress(ctx, formats); err != nil { res = append(res, err) } if err := m.contextValidateIdentifications(ctx, formats); err != nil { res = append(res, err) } if err := m.contextValidateMemberGroup(ctx, formats); err != nil { res = append(res, err) } if err := m.contextValidateRecommendations(ctx, formats); err != nil { res = append(res, err) } if len(res) > 0 { return errors.CompositeValidationError(res...) } return nil } func (m *MemberResponse) contextValidateAddress(ctx context.Context, formats strfmt.Registry) error { if m.Address != nil { if err := m.Address.ContextValidate(ctx, formats); err != nil { if ve, ok := err.(*errors.Validation); ok { return ve.ValidateName("address") } return err } } return nil } func (m *MemberResponse) contextValidateIdentifications(ctx context.Context, formats strfmt.Registry) error { for i := 0; i < len(m.Identifications); i++ { if m.Identifications[i] != nil { if err := m.Identifications[i].ContextValidate(ctx, formats); err != nil { if ve, ok := err.(*errors.Validation); ok { return ve.ValidateName("identifications" + "." + strconv.Itoa(i)) } return err } } } return nil } func (m *MemberResponse) contextValidateMemberGroup(ctx context.Context, formats strfmt.Registry) error { if m.MemberGroup != nil { if err := m.MemberGroup.ContextValidate(ctx, formats); err != nil { if ve, ok := err.(*errors.Validation); ok { return ve.ValidateName("memberGroup") } return err } } return nil } func (m *MemberResponse) contextValidateRecommendations(ctx context.Context, formats strfmt.Registry) error { for i := 0; i < len(m.Recommendations); i++ { if m.Recommendations[i] != nil { if err := m.Recommendations[i].ContextValidate(ctx, formats); err != nil { if ve, ok := err.(*errors.Validation); ok { return ve.ValidateName("recommendations" + "." + strconv.Itoa(i)) } return err } } } return nil } // MarshalBinary interface implementation func (m *MemberResponse) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } return swag.WriteJSON(m) } // UnmarshalBinary interface implementation func (m *MemberResponse) UnmarshalBinary(b []byte) error { var res MemberResponse if err := swag.ReadJSON(b, &res); err != nil { return err } *m = res return nil } // MemberResponseAddress member response address // // swagger:model MemberResponseAddress type MemberResponseAddress struct { // address // Example: 5125 Miles Ave Address string `json:"address,omitempty"` // city // Example: Oakland City string `json:"city,omitempty"` // company Id // Example: string CompanyID string `json:"companyId,omitempty"` // country // Example: US Country string `json:"country,omitempty"` // created // Example: 1554826014782 Created int64 `json:"created,omitempty"` // deleted // Example: false Deleted bool `json:"deleted,omitempty"` // id // Example: 5cacc31e6218d174d3f17b6d ID string `json:"id,omitempty"` // modified // Example: 1554826014782 Modified int64 `json:"modified,omitempty"` // state // Example: CA State string `json:"state,omitempty"` // updated // Example: false Updated bool `json:"updated,omitempty"` // zip code // Example: 94618 ZipCode string `json:"zipCode,omitempty"` } // Validate validates this member response address func (m *MemberResponseAddress) Validate(formats strfmt.Registry) error { return nil } // ContextValidate validates this member response address based on context it is used func (m *MemberResponseAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error { return nil } // MarshalBinary interface implementation func (m *MemberResponseAddress) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } return swag.WriteJSON(m) } // UnmarshalBinary interface implementation func (m *MemberResponseAddress) UnmarshalBinary(b []byte) error { var res MemberResponseAddress if err := swag.ReadJSON(b, &res); err != nil { return err } *m = res return nil } // MemberResponseIdentificationsItems0 member response identifications items0 // // swagger:model MemberResponseIdentificationsItems0 type MemberResponseIdentificationsItems0 struct { // assets Assets []*MemberResponseIdentificationsItems0AssetsItems0 `json:"assets"` // company Id // Example: 5cabd4ba6218d148395b402c CompanyID string `json:"companyId,omitempty"` // created // Example: 1554826014782 Created int64 `json:"created,omitempty"` // deleted // Example: false Deleted bool `json:"deleted,omitempty"` // expiration date // Example: 1577779200000 ExpirationDate int64 `json:"expirationDate,omitempty"` // front photo // Example: string FrontPhoto string `json:"frontPhoto,omitempty"` // id // Example: 5cacc31e6218d174d3f17b6e ID string `json:"id,omitempty"` // license number // Example: MYLICENSENUM LicenseNumber string `json:"licenseNumber,omitempty"` // modified // Example: 1554826014782 Modified int64 `json:"modified,omitempty"` // state // Example: string State string `json:"state,omitempty"` // type // Example: string Type string `json:"type,omitempty"` // updated // Example: false Updated bool `json:"updated,omitempty"` } // Validate validates this member response identifications items0 func (m *MemberResponseIdentificationsItems0) Validate(formats strfmt.Registry) error { var res []error if err := m.validateAssets(formats); err != nil { res = append(res, err) } if len(res) > 0 { return errors.CompositeValidationError(res...) } return nil } func (m *MemberResponseIdentificationsItems0) validateAssets(formats strfmt.Registry) error { if swag.IsZero(m.Assets) { // not required return nil } for i := 0; i < len(m.Assets); i++ { if swag.IsZero(m.Assets[i]) { // not required continue } if m.Assets[i] != nil { if err := m.Assets[i].Validate(formats); err != nil { if ve, ok := err.(*errors.Validation); ok { return ve.ValidateName("assets" + "." + strconv.Itoa(i)) } return err } } } return nil } // ContextValidate validate this member response identifications items0 based on the context it is used func (m *MemberResponseIdentificationsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error { var res []error if err := m.contextValidateAssets(ctx, formats); err != nil { res = append(res, err) } if len(res) > 0 { return errors.CompositeValidationError(res...) } return nil } func (m *MemberResponseIdentificationsItems0) contextValidateAssets(ctx context.Context, formats strfmt.Registry) error { for i := 0; i < len(m.Assets); i++ { if m.Assets[i] != nil { if err := m.Assets[i].ContextValidate(ctx, formats); err != nil { if ve, ok := err.(*errors.Validation); ok { return ve.ValidateName("assets" + "." + strconv.Itoa(i)) } return err } } } return nil } // MarshalBinary interface implementation func (m *MemberResponseIdentificationsItems0) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } return swag.WriteJSON(m) } // UnmarshalBinary interface implementation func (m *MemberResponseIdentificationsItems0) UnmarshalBinary(b []byte) error { var res MemberResponseIdentificationsItems0 if err := swag.ReadJSON(b, &res); err != nil { return err } *m = res return nil } // MemberResponseIdentificationsItems0AssetsItems0 member response identifications items0 assets items0 // // swagger:model MemberResponseIdentificationsItems0AssetsItems0 type MemberResponseIdentificationsItems0AssetsItems0 struct { // active // Example: true Active bool `json:"active,omitempty"` // asset type // Example: Photo AssetType string `json:"assetType,omitempty"` // company Id // Example: 5c7e8c7b722ed607e61edb06 CompanyID string `json:"companyId,omitempty"` // created // Example: 1556052368662 Created int64 `json:"created,omitempty"` // deleted // Example: false Deleted bool `json:"deleted,omitempty"` // id // Example: 5cbf79908a29f808183540e7 ID string `json:"id,omitempty"` // key // Example: c71adc95-bb07-47f2-b9f6-cc4db7936686.png Key string `json:"key,omitempty"` // large URL // Example: https://connect-files-p1.s3.amazonaws.com/c71adc95-bb07-47f2-b9f6-cc4db7936686-800x800.png LargeURL string `json:"largeURL,omitempty"` // large x2 URL // Example: https://connect-files-p1.s3.amazonaws.com/c71adc95-bb07-47f2-b9f6-cc4db7936686-1600x1600.png LargeX2URL string `json:"largeX2URL,omitempty"` // medium URL // Example: https://connect-files-p1.s3.amazonaws.com/c71adc95-bb07-47f2-b9f6-cc4db7936686-500x500.png MediumURL string `json:"mediumURL,omitempty"` // modified // Example: 1556052368662 Modified int64 `json:"modified,omitempty"` // name // Example: Brian Main DL.png Name string `json:"name,omitempty"` // priority // Example: 0 Priority float64 `json:"priority,omitempty"` // secured // Example: true Secured bool `json:"secured,omitempty"` // thumb URL // Example: https://connect-files-p1.s3.amazonaws.com/c71adc95-bb07-47f2-b9f6-cc4db7936686-200x200.png ThumbURL string `json:"thumbURL,omitempty"` // type // Example: Photo Type string `json:"type,omitempty"` // updated // Example: false Updated bool `json:"updated,omitempty"` } // Validate validates this member response identifications items0 assets items0 func (m *MemberResponseIdentificationsItems0AssetsItems0) Validate(formats strfmt.Registry) error { return nil } // ContextValidate validates this member response identifications items0 assets items0 based on context it is used func (m *MemberResponseIdentificationsItems0AssetsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error { return nil } // MarshalBinary interface implementation func (m *MemberResponseIdentificationsItems0AssetsItems0) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } return swag.WriteJSON(m) } // UnmarshalBinary interface implementation func (m *MemberResponseIdentificationsItems0AssetsItems0) UnmarshalBinary(b []byte) error { var res MemberResponseIdentificationsItems0AssetsItems0 if err := swag.ReadJSON(b, &res); err != nil { return err } *m = res return nil } // MemberResponseMemberGroup member response member group // // swagger:model MemberResponseMemberGroup type MemberResponseMemberGroup struct { // active // Example: true Active bool `json:"active,omitempty"` // company Id // Example: 5cabd4ba6218d148395b402c CompanyID string `json:"companyId,omitempty"` // created // Example: 1554746451740 Created int64 `json:"created,omitempty"` // default group // Example: true DefaultGroup bool `json:"defaultGroup,omitempty"` // deleted // Example: false Deleted bool `json:"deleted,omitempty"` // dirty // Example: false Dirty bool `json:"dirty,omitempty"` // discount // Example: 0 Discount float64 `json:"discount,omitempty"` // discount type // Example: Percentage DiscountType string `json:"discountType,omitempty"` // enable promotion // Example: false EnablePromotion bool `json:"enablePromotion,omitempty"` // id // Example: 5cabd4ba6218d148395b404b ID string `json:"id,omitempty"` // member count // Example: 0 MemberCount float64 `json:"memberCount,omitempty"` // member count email opt in // Example: 0 MemberCountEmailOptIn float64 `json:"memberCountEmailOptIn,omitempty"` // member count text opt in // Example: 0 MemberCountTextOptIn float64 `json:"memberCountTextOptIn,omitempty"` // modified // Example: 1554824536062 Modified int64 `json:"modified,omitempty"` // name // Example: Delivery Name string `json:"name,omitempty"` // promotion Id // Example: string PromotionID string `json:"promotionId,omitempty"` // shop Id // Example: 5cabd4ba6218d148395b4043 ShopID string `json:"shopId,omitempty"` // updated // Example: false Updated bool `json:"updated,omitempty"` } // Validate validates this member response member group func (m *MemberResponseMemberGroup) Validate(formats strfmt.Registry) error { return nil } // ContextValidate validates this member response member group based on context it is used func (m *MemberResponseMemberGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error { return nil } // MarshalBinary interface implementation func (m *MemberResponseMemberGroup) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } return swag.WriteJSON(m) } // UnmarshalBinary interface implementation func (m *MemberResponseMemberGroup) UnmarshalBinary(b []byte) error { var res MemberResponseMemberGroup if err := swag.ReadJSON(b, &res); err != nil { return err } *m = res return nil } // MemberResponseRecommendationsItems0 member response recommendations items0 // // swagger:model MemberResponseRecommendationsItems0 type MemberResponseRecommendationsItems0 struct { // assets Assets []*MemberResponseRecommendationsItems0AssetsItems0 `json:"assets"` // company Id // Example: 5cabd4ba6218d148395b402c CompanyID string `json:"companyId,omitempty"` // created // Example: 1554826014782 Created int64 `json:"created,omitempty"` // deleted // Example: false Deleted bool `json:"deleted,omitempty"` // doctor // Example: string Doctor string `json:"doctor,omitempty"` // doctor Id // Example: string DoctorID string `json:"doctorId,omitempty"` // expiration date // Example: string ExpirationDate string `json:"expirationDate,omitempty"` // front photo // Example: string FrontPhoto string `json:"frontPhoto,omitempty"` // id // Example: 5cacc31e6218d174d3f17b6f ID string `json:"id,omitempty"` // issue date // Example: string IssueDate string `json:"issueDate,omitempty"` // modified // Example: 1554826014782 Modified int64 `json:"modified,omitempty"` // recommendation number // Example: string RecommendationNumber string `json:"recommendationNumber,omitempty"` // state // Example: string State string `json:"state,omitempty"` // updated // Example: false Updated bool `json:"updated,omitempty"` // verified // Example: false Verified bool `json:"verified,omitempty"` // verify method // Example: MANUAL VerifyMethod string `json:"verifyMethod,omitempty"` // verify phone number // Example: string VerifyPhoneNumber string `json:"verifyPhoneNumber,omitempty"` // verify website // Example: string VerifyWebsite string `json:"verifyWebsite,omitempty"` } // Validate validates this member response recommendations items0 func (m *MemberResponseRecommendationsItems0) Validate(formats strfmt.Registry) error { var res []error if err := m.validateAssets(formats); err != nil { res = append(res, err) } if len(res) > 0 { return errors.CompositeValidationError(res...) } return nil } func (m *MemberResponseRecommendationsItems0) validateAssets(formats strfmt.Registry) error { if swag.IsZero(m.Assets) { // not required return nil } for i := 0; i < len(m.Assets); i++ { if swag.IsZero(m.Assets[i]) { // not required continue } if m.Assets[i] != nil { if err := m.Assets[i].Validate(formats); err != nil { if ve, ok := err.(*errors.Validation); ok { return ve.ValidateName("assets" + "." + strconv.Itoa(i)) } return err } } } return nil } // ContextValidate validate this member response recommendations items0 based on the context it is used func (m *MemberResponseRecommendationsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error { var res []error if err := m.contextValidateAssets(ctx, formats); err != nil { res = append(res, err) } if len(res) > 0 { return errors.CompositeValidationError(res...) } return nil } func (m *MemberResponseRecommendationsItems0) contextValidateAssets(ctx context.Context, formats strfmt.Registry) error { for i := 0; i < len(m.Assets); i++ { if m.Assets[i] != nil { if err := m.Assets[i].ContextValidate(ctx, formats); err != nil { if ve, ok := err.(*errors.Validation); ok { return ve.ValidateName("assets" + "." + strconv.Itoa(i)) } return err } } } return nil } // MarshalBinary interface implementation func (m *MemberResponseRecommendationsItems0) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } return swag.WriteJSON(m) } // UnmarshalBinary interface implementation func (m *MemberResponseRecommendationsItems0) UnmarshalBinary(b []byte) error { var res MemberResponseRecommendationsItems0 if err := swag.ReadJSON(b, &res); err != nil { return err } *m = res return nil } // MemberResponseRecommendationsItems0AssetsItems0 member response recommendations items0 assets items0 // // swagger:model MemberResponseRecommendationsItems0AssetsItems0 type MemberResponseRecommendationsItems0AssetsItems0 struct { // active // Example: true Active bool `json:"active,omitempty"` // asset type // Example: Photo AssetType string `json:"assetType,omitempty"` // company Id // Example: 5c7e8c7b722ed607e61edb06 CompanyID string `json:"companyId,omitempty"` // created // Example: 1556052368662 Created int64 `json:"created,omitempty"` // deleted // Example: false Deleted bool `json:"deleted,omitempty"` // id // Example: 5cbf79908a29f808183540e7 ID string `json:"id,omitempty"` // key // Example: c71adc95-bb07-47f2-b9f6-cc4db7936686.png Key string `json:"key,omitempty"` // large URL // Example: https://connect-files-p1.s3.amazonaws.com/c71adc95-bb07-47f2-b9f6-cc4db7936686-800x800.png LargeURL string `json:"largeURL,omitempty"` // large x2 URL // Example: https://connect-files-p1.s3.amazonaws.com/c71adc95-bb07-47f2-b9f6-cc4db7936686-1600x1600.png LargeX2URL string `json:"largeX2URL,omitempty"` // medium URL // Example: https://connect-files-p1.s3.amazonaws.com/c71adc95-bb07-47f2-b9f6-cc4db7936686-500x500.png MediumURL string `json:"mediumURL,omitempty"` // modified // Example: 1556052368662 Modified int64 `json:"modified,omitempty"` // name // Example: Brian Main DL.png Name string `json:"name,omitempty"` // priority // Example: 0 Priority float64 `json:"priority,omitempty"` // secured // Example: true Secured bool `json:"secured,omitempty"` // thumb URL // Example: https://connect-files-p1.s3.amazonaws.com/c71adc95-bb07-47f2-b9f6-cc4db7936686-200x200.png ThumbURL string `json:"thumbURL,omitempty"` // type // Example: Photo Type string `json:"type,omitempty"` // updated // Example: false Updated bool `json:"updated,omitempty"` } // Validate validates this member response recommendations items0 assets items0 func (m *MemberResponseRecommendationsItems0AssetsItems0) Validate(formats strfmt.Registry) error { return nil } // ContextValidate validates this member response recommendations items0 assets items0 based on context it is used func (m *MemberResponseRecommendationsItems0AssetsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error { return nil } // MarshalBinary interface implementation func (m *MemberResponseRecommendationsItems0AssetsItems0) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } return swag.WriteJSON(m) } // UnmarshalBinary interface implementation func (m *MemberResponseRecommendationsItems0AssetsItems0) UnmarshalBinary(b []byte) error { var res MemberResponseRecommendationsItems0AssetsItems0 if err := swag.ReadJSON(b, &res); err != nil { return err } *m = res return nil }