featuresetversion

package
v0.20230815.1145621 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2023 License: MPL-2.0 Imports: 14 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2023-04-01-preview/featuresetversion Documentation

The featuresetversion SDK allows for interaction with the Azure Resource Manager Service machinelearningservices (API Version 2023-04-01-preview).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2023-04-01-preview/featuresetversion"

Client Initialization

client := featuresetversion.NewFeaturesetVersionClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: FeaturesetVersionClient.Backfill

ctx := context.TODO()
id := featuresetversion.NewFeatureSetVersionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "featureSetValue", "versionValue")

payload := featuresetversion.FeaturesetVersionBackfillRequest{
	// ...
}


if err := client.BackfillThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: FeaturesetVersionClient.CreateOrUpdate

ctx := context.TODO()
id := featuresetversion.NewFeatureSetVersionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "featureSetValue", "versionValue")

payload := featuresetversion.FeaturesetVersionResource{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: FeaturesetVersionClient.Delete

ctx := context.TODO()
id := featuresetversion.NewFeatureSetVersionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "featureSetValue", "versionValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: FeaturesetVersionClient.Get

ctx := context.TODO()
id := featuresetversion.NewFeatureSetVersionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "featureSetValue", "versionValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: FeaturesetVersionClient.List

ctx := context.TODO()
id := featuresetversion.NewFeatureSetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "featureSetValue")

// alternatively `client.List(ctx, id, featuresetversion.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, id, featuresetversion.DefaultListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: FeaturesetVersionClient.ListMaterializationJobs

ctx := context.TODO()
id := featuresetversion.NewFeatureSetVersionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "featureSetValue", "versionValue")

// alternatively `client.ListMaterializationJobs(ctx, id, featuresetversion.DefaultListMaterializationJobsOperationOptions())` can be used to do batched pagination
items, err := client.ListMaterializationJobsComplete(ctx, id, featuresetversion.DefaultListMaterializationJobsOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAssetProvisioningState

func PossibleValuesForAssetProvisioningState() []string

func PossibleValuesForAutoDeleteCondition

func PossibleValuesForAutoDeleteCondition() []string

func PossibleValuesForEmailNotificationEnableType

func PossibleValuesForEmailNotificationEnableType() []string

func PossibleValuesForFeaturestoreJobType

func PossibleValuesForFeaturestoreJobType() []string

func PossibleValuesForJobStatus

func PossibleValuesForJobStatus() []string

func PossibleValuesForListViewType

func PossibleValuesForListViewType() []string

func PossibleValuesForMaterializationStoreType

func PossibleValuesForMaterializationStoreType() []string

func PossibleValuesForRecurrenceFrequency

func PossibleValuesForRecurrenceFrequency() []string

func PossibleValuesForTriggerType

func PossibleValuesForTriggerType() []string

func PossibleValuesForWebhookType

func PossibleValuesForWebhookType() []string

func PossibleValuesForWeekDay

func PossibleValuesForWeekDay() []string

func ValidateFeatureSetID

func ValidateFeatureSetID(input interface{}, key string) (warnings []string, errors []error)

ValidateFeatureSetID checks that 'input' can be parsed as a Feature Set ID

func ValidateFeatureSetVersionID

func ValidateFeatureSetVersionID(input interface{}, key string) (warnings []string, errors []error)

ValidateFeatureSetVersionID checks that 'input' can be parsed as a Feature Set Version ID

Types

type AssetProvisioningState

type AssetProvisioningState string
const (
	AssetProvisioningStateCanceled  AssetProvisioningState = "Canceled"
	AssetProvisioningStateCreating  AssetProvisioningState = "Creating"
	AssetProvisioningStateDeleting  AssetProvisioningState = "Deleting"
	AssetProvisioningStateFailed    AssetProvisioningState = "Failed"
	AssetProvisioningStateSucceeded AssetProvisioningState = "Succeeded"
	AssetProvisioningStateUpdating  AssetProvisioningState = "Updating"
)

func (*AssetProvisioningState) UnmarshalJSON

func (s *AssetProvisioningState) UnmarshalJSON(bytes []byte) error

type AutoDeleteCondition

type AutoDeleteCondition string
const (
	AutoDeleteConditionCreatedGreaterThan      AutoDeleteCondition = "CreatedGreaterThan"
	AutoDeleteConditionLastAccessedGreaterThan AutoDeleteCondition = "LastAccessedGreaterThan"
)

func (*AutoDeleteCondition) UnmarshalJSON

func (s *AutoDeleteCondition) UnmarshalJSON(bytes []byte) error

type AutoDeleteSetting

type AutoDeleteSetting struct {
	Condition *AutoDeleteCondition `json:"condition,omitempty"`
	Value     *string              `json:"value,omitempty"`
}

type AzureDevOpsWebhook

type AzureDevOpsWebhook struct {

	// Fields inherited from Webhook
	EventType *string `json:"eventType,omitempty"`
}

func (AzureDevOpsWebhook) MarshalJSON

func (s AzureDevOpsWebhook) MarshalJSON() ([]byte, error)

type BackfillOperationResponse

type BackfillOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type CronTrigger

type CronTrigger struct {
	Expression string `json:"expression"`

	// Fields inherited from TriggerBase
	EndTime   *string `json:"endTime,omitempty"`
	StartTime *string `json:"startTime,omitempty"`
	TimeZone  *string `json:"timeZone,omitempty"`
}

func (CronTrigger) MarshalJSON

func (s CronTrigger) MarshalJSON() ([]byte, error)

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type EmailNotificationEnableType

type EmailNotificationEnableType string
const (
	EmailNotificationEnableTypeJobCancelled EmailNotificationEnableType = "JobCancelled"
	EmailNotificationEnableTypeJobCompleted EmailNotificationEnableType = "JobCompleted"
	EmailNotificationEnableTypeJobFailed    EmailNotificationEnableType = "JobFailed"
)

func (*EmailNotificationEnableType) UnmarshalJSON

func (s *EmailNotificationEnableType) UnmarshalJSON(bytes []byte) error

type FeatureSetId

type FeatureSetId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkspaceName     string
	FeatureSetName    string
}

FeatureSetId is a struct representing the Resource ID for a Feature Set

func NewFeatureSetID

func NewFeatureSetID(subscriptionId string, resourceGroupName string, workspaceName string, featureSetName string) FeatureSetId

NewFeatureSetID returns a new FeatureSetId struct

func ParseFeatureSetID

func ParseFeatureSetID(input string) (*FeatureSetId, error)

ParseFeatureSetID parses 'input' into a FeatureSetId

func ParseFeatureSetIDInsensitively

func ParseFeatureSetIDInsensitively(input string) (*FeatureSetId, error)

ParseFeatureSetIDInsensitively parses 'input' case-insensitively into a FeatureSetId note: this method should only be used for API response data and not user input

func (FeatureSetId) ID

func (id FeatureSetId) ID() string

ID returns the formatted Feature Set ID

func (FeatureSetId) Segments

func (id FeatureSetId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Feature Set ID

func (FeatureSetId) String

func (id FeatureSetId) String() string

String returns a human-readable description of this Feature Set ID

type FeatureSetVersionId

type FeatureSetVersionId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkspaceName     string
	FeatureSetName    string
	VersionName       string
}

FeatureSetVersionId is a struct representing the Resource ID for a Feature Set Version

func NewFeatureSetVersionID

func NewFeatureSetVersionID(subscriptionId string, resourceGroupName string, workspaceName string, featureSetName string, versionName string) FeatureSetVersionId

NewFeatureSetVersionID returns a new FeatureSetVersionId struct

func ParseFeatureSetVersionID

func ParseFeatureSetVersionID(input string) (*FeatureSetVersionId, error)

ParseFeatureSetVersionID parses 'input' into a FeatureSetVersionId

func ParseFeatureSetVersionIDInsensitively

func ParseFeatureSetVersionIDInsensitively(input string) (*FeatureSetVersionId, error)

ParseFeatureSetVersionIDInsensitively parses 'input' case-insensitively into a FeatureSetVersionId note: this method should only be used for API response data and not user input

func (FeatureSetVersionId) ID

func (id FeatureSetVersionId) ID() string

ID returns the formatted Feature Set Version ID

func (FeatureSetVersionId) Segments

func (id FeatureSetVersionId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Feature Set Version ID

func (FeatureSetVersionId) String

func (id FeatureSetVersionId) String() string

String returns a human-readable description of this Feature Set Version ID

type FeatureWindow

type FeatureWindow struct {
	FeatureWindowEnd   *string `json:"featureWindowEnd,omitempty"`
	FeatureWindowStart *string `json:"featureWindowStart,omitempty"`
}

func (*FeatureWindow) GetFeatureWindowEndAsTime

func (o *FeatureWindow) GetFeatureWindowEndAsTime() (*time.Time, error)

func (*FeatureWindow) GetFeatureWindowStartAsTime

func (o *FeatureWindow) GetFeatureWindowStartAsTime() (*time.Time, error)

func (*FeatureWindow) SetFeatureWindowEndAsTime

func (o *FeatureWindow) SetFeatureWindowEndAsTime(input time.Time)

func (*FeatureWindow) SetFeatureWindowStartAsTime

func (o *FeatureWindow) SetFeatureWindowStartAsTime(input time.Time)

type FeaturesetJob

type FeaturesetJob struct {
	CreatedDate   *string              `json:"createdDate,omitempty"`
	DisplayName   *string              `json:"displayName,omitempty"`
	Duration      *string              `json:"duration,omitempty"`
	ExperimentId  *string              `json:"experimentId,omitempty"`
	FeatureWindow *FeatureWindow       `json:"featureWindow,omitempty"`
	JobId         *string              `json:"jobId,omitempty"`
	Status        *JobStatus           `json:"status,omitempty"`
	Tags          *map[string]string   `json:"tags,omitempty"`
	Type          *FeaturestoreJobType `json:"type,omitempty"`
}

func (*FeaturesetJob) GetCreatedDateAsTime

func (o *FeaturesetJob) GetCreatedDateAsTime() (*time.Time, error)

func (*FeaturesetJob) SetCreatedDateAsTime

func (o *FeaturesetJob) SetCreatedDateAsTime(input time.Time)

type FeaturesetJobOperationPredicate

type FeaturesetJobOperationPredicate struct {
	CreatedDate  *string
	DisplayName  *string
	Duration     *string
	ExperimentId *string
	JobId        *string
}

func (FeaturesetJobOperationPredicate) Matches

type FeaturesetSpecification

type FeaturesetSpecification struct {
	Path *string `json:"path,omitempty"`
}

type FeaturesetVersion

type FeaturesetVersion struct {
	AutoDeleteSetting       *AutoDeleteSetting       `json:"autoDeleteSetting,omitempty"`
	Description             *string                  `json:"description,omitempty"`
	Entities                *[]string                `json:"entities,omitempty"`
	IsAnonymous             *bool                    `json:"isAnonymous,omitempty"`
	IsArchived              *bool                    `json:"isArchived,omitempty"`
	MaterializationSettings *MaterializationSettings `json:"materializationSettings,omitempty"`
	Properties              *map[string]string       `json:"properties,omitempty"`
	ProvisioningState       *AssetProvisioningState  `json:"provisioningState,omitempty"`
	Specification           *FeaturesetSpecification `json:"specification,omitempty"`
	Stage                   *string                  `json:"stage,omitempty"`
	Tags                    *map[string]string       `json:"tags,omitempty"`
}

type FeaturesetVersionBackfillRequest

type FeaturesetVersionBackfillRequest struct {
	Description        *string                         `json:"description,omitempty"`
	DisplayName        *string                         `json:"displayName,omitempty"`
	FeatureWindow      *FeatureWindow                  `json:"featureWindow,omitempty"`
	Resource           *MaterializationComputeResource `json:"resource,omitempty"`
	SparkConfiguration *map[string]string              `json:"sparkConfiguration,omitempty"`
	Tags               *map[string]string              `json:"tags,omitempty"`
}

type FeaturesetVersionClient

type FeaturesetVersionClient struct {
	Client *resourcemanager.Client
}

func NewFeaturesetVersionClientWithBaseURI

func NewFeaturesetVersionClientWithBaseURI(sdkApi sdkEnv.Api) (*FeaturesetVersionClient, error)

func (FeaturesetVersionClient) Backfill

Backfill ...

func (FeaturesetVersionClient) BackfillThenPoll

BackfillThenPoll performs Backfill then polls until it's completed

func (FeaturesetVersionClient) CreateOrUpdate

CreateOrUpdate ...

func (FeaturesetVersionClient) CreateOrUpdateThenPoll

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (FeaturesetVersionClient) Delete

Delete ...

func (FeaturesetVersionClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (FeaturesetVersionClient) Get

Get ...

func (FeaturesetVersionClient) List

List ...

func (FeaturesetVersionClient) ListComplete

ListComplete retrieves all the results into a single object

func (FeaturesetVersionClient) ListCompleteMatchingPredicate

func (c FeaturesetVersionClient) ListCompleteMatchingPredicate(ctx context.Context, id FeatureSetId, options ListOperationOptions, predicate FeaturesetVersionResourceOperationPredicate) (result ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (FeaturesetVersionClient) ListMaterializationJobs

ListMaterializationJobs ...

func (FeaturesetVersionClient) ListMaterializationJobsComplete

ListMaterializationJobsComplete retrieves all the results into a single object

func (FeaturesetVersionClient) ListMaterializationJobsCompleteMatchingPredicate

ListMaterializationJobsCompleteMatchingPredicate retrieves all the results and then applies the predicate

type FeaturesetVersionResource

type FeaturesetVersionResource struct {
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties FeaturesetVersion      `json:"properties"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type FeaturesetVersionResourceOperationPredicate

type FeaturesetVersionResourceOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (FeaturesetVersionResourceOperationPredicate) Matches

type FeaturestoreJobType

type FeaturestoreJobType string
const (
	FeaturestoreJobTypeBackfillMaterialization  FeaturestoreJobType = "BackfillMaterialization"
	FeaturestoreJobTypeRecurrentMaterialization FeaturestoreJobType = "RecurrentMaterialization"
)

func (*FeaturestoreJobType) UnmarshalJSON

func (s *FeaturestoreJobType) UnmarshalJSON(bytes []byte) error

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *FeaturesetVersionResource
}

type JobStatus

type JobStatus string
const (
	JobStatusCancelRequested JobStatus = "CancelRequested"
	JobStatusCanceled        JobStatus = "Canceled"
	JobStatusCompleted       JobStatus = "Completed"
	JobStatusFailed          JobStatus = "Failed"
	JobStatusFinalizing      JobStatus = "Finalizing"
	JobStatusNotResponding   JobStatus = "NotResponding"
	JobStatusNotStarted      JobStatus = "NotStarted"
	JobStatusPaused          JobStatus = "Paused"
	JobStatusPreparing       JobStatus = "Preparing"
	JobStatusProvisioning    JobStatus = "Provisioning"
	JobStatusQueued          JobStatus = "Queued"
	JobStatusRunning         JobStatus = "Running"
	JobStatusScheduled       JobStatus = "Scheduled"
	JobStatusStarting        JobStatus = "Starting"
	JobStatusUnknown         JobStatus = "Unknown"
)

func (*JobStatus) UnmarshalJSON

func (s *JobStatus) UnmarshalJSON(bytes []byte) error

type ListCompleteResult

type ListCompleteResult struct {
	Items []FeaturesetVersionResource
}

type ListMaterializationJobsCompleteResult

type ListMaterializationJobsCompleteResult struct {
	Items []FeaturesetJob
}

type ListMaterializationJobsOperationOptions

type ListMaterializationJobsOperationOptions struct {
	FeatureWindowEnd   *string
	FeatureWindowStart *string
	Filters            *string
	Skip               *string
}

func DefaultListMaterializationJobsOperationOptions

func DefaultListMaterializationJobsOperationOptions() ListMaterializationJobsOperationOptions

func (ListMaterializationJobsOperationOptions) ToHeaders

func (ListMaterializationJobsOperationOptions) ToOData

func (ListMaterializationJobsOperationOptions) ToQuery

type ListMaterializationJobsOperationResponse

type ListMaterializationJobsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]FeaturesetJob
}

type ListOperationOptions

type ListOperationOptions struct {
	CreatedBy    *string
	Description  *string
	ListViewType *ListViewType
	PageSize     *int64
	Skip         *string
	Stage        *string
	Tags         *string
	Version      *string
	VersionName  *string
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

func (ListOperationOptions) ToHeaders

func (o ListOperationOptions) ToHeaders() *client.Headers

func (ListOperationOptions) ToOData

func (o ListOperationOptions) ToOData() *odata.Query

func (ListOperationOptions) ToQuery

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]FeaturesetVersionResource
}

type ListViewType

type ListViewType string
const (
	ListViewTypeActiveOnly   ListViewType = "ActiveOnly"
	ListViewTypeAll          ListViewType = "All"
	ListViewTypeArchivedOnly ListViewType = "ArchivedOnly"
)

func (*ListViewType) UnmarshalJSON

func (s *ListViewType) UnmarshalJSON(bytes []byte) error

type MaterializationComputeResource

type MaterializationComputeResource struct {
	InstanceType *string `json:"instanceType,omitempty"`
}

type MaterializationSettings

type MaterializationSettings struct {
	Notification       *NotificationSetting            `json:"notification,omitempty"`
	Resource           *MaterializationComputeResource `json:"resource,omitempty"`
	Schedule           *RecurrenceTrigger              `json:"schedule,omitempty"`
	SparkConfiguration *map[string]string              `json:"sparkConfiguration,omitempty"`
	StoreType          *MaterializationStoreType       `json:"storeType,omitempty"`
}

type MaterializationStoreType

type MaterializationStoreType string
const (
	MaterializationStoreTypeNone             MaterializationStoreType = "None"
	MaterializationStoreTypeOffline          MaterializationStoreType = "Offline"
	MaterializationStoreTypeOnline           MaterializationStoreType = "Online"
	MaterializationStoreTypeOnlineAndOffline MaterializationStoreType = "OnlineAndOffline"
)

func (*MaterializationStoreType) UnmarshalJSON

func (s *MaterializationStoreType) UnmarshalJSON(bytes []byte) error

type NotificationSetting

type NotificationSetting struct {
	EmailOn  *[]EmailNotificationEnableType `json:"emailOn,omitempty"`
	Emails   *[]string                      `json:"emails,omitempty"`
	WebHooks *map[string]Webhook            `json:"webhooks,omitempty"`
}

func (*NotificationSetting) UnmarshalJSON

func (s *NotificationSetting) UnmarshalJSON(bytes []byte) error

type RawTriggerBaseImpl added in v0.20230807.1063129

type RawTriggerBaseImpl struct {
	Type   string
	Values map[string]interface{}
}

RawModeOfTransitImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RawWebhookImpl added in v0.20230807.1063129

type RawWebhookImpl struct {
	Type   string
	Values map[string]interface{}
}

RawModeOfTransitImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RecurrenceFrequency

type RecurrenceFrequency string
const (
	RecurrenceFrequencyDay    RecurrenceFrequency = "Day"
	RecurrenceFrequencyHour   RecurrenceFrequency = "Hour"
	RecurrenceFrequencyMinute RecurrenceFrequency = "Minute"
	RecurrenceFrequencyMonth  RecurrenceFrequency = "Month"
	RecurrenceFrequencyWeek   RecurrenceFrequency = "Week"
)

func (*RecurrenceFrequency) UnmarshalJSON

func (s *RecurrenceFrequency) UnmarshalJSON(bytes []byte) error

type RecurrenceSchedule

type RecurrenceSchedule struct {
	Hours     []int64    `json:"hours"`
	Minutes   []int64    `json:"minutes"`
	MonthDays *[]int64   `json:"monthDays,omitempty"`
	WeekDays  *[]WeekDay `json:"weekDays,omitempty"`
}

type RecurrenceTrigger

type RecurrenceTrigger struct {
	Frequency RecurrenceFrequency `json:"frequency"`
	Interval  int64               `json:"interval"`
	Schedule  *RecurrenceSchedule `json:"schedule,omitempty"`

	// Fields inherited from TriggerBase
	EndTime   *string `json:"endTime,omitempty"`
	StartTime *string `json:"startTime,omitempty"`
	TimeZone  *string `json:"timeZone,omitempty"`
}

func (RecurrenceTrigger) MarshalJSON

func (s RecurrenceTrigger) MarshalJSON() ([]byte, error)

type TriggerBase

type TriggerBase interface {
}

type TriggerType

type TriggerType string
const (
	TriggerTypeCron       TriggerType = "Cron"
	TriggerTypeRecurrence TriggerType = "Recurrence"
)

func (*TriggerType) UnmarshalJSON

func (s *TriggerType) UnmarshalJSON(bytes []byte) error

type Webhook

type Webhook interface {
}

type WebhookType

type WebhookType string
const (
	WebhookTypeAzureDevOps WebhookType = "AzureDevOps"
)

func (*WebhookType) UnmarshalJSON

func (s *WebhookType) UnmarshalJSON(bytes []byte) error

type WeekDay

type WeekDay string
const (
	WeekDayFriday    WeekDay = "Friday"
	WeekDayMonday    WeekDay = "Monday"
	WeekDaySaturday  WeekDay = "Saturday"
	WeekDaySunday    WeekDay = "Sunday"
	WeekDayThursday  WeekDay = "Thursday"
	WeekDayTuesday   WeekDay = "Tuesday"
	WeekDayWednesday WeekDay = "Wednesday"
)

func (*WeekDay) UnmarshalJSON

func (s *WeekDay) UnmarshalJSON(bytes []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL