-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #165 from microsoftgraph/v1.0/pipelinebuild/75027
Generated v1.0 models and request builders using Kiota
- Loading branch information
Showing
7,130 changed files
with
287,236 additions
and
123,311 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
83 changes: 0 additions & 83 deletions
83
...eannouncement/healthoverviews/item/issues/item/incidentreport/incident_report_response.go
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...ouncement/healthoverviews/item/issues/item/incidentreport/incident_report_responseable.go
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
83 changes: 0 additions & 83 deletions
83
admin/serviceannouncement/issues/item/incidentreport/incident_report_response.go
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
admin/serviceannouncement/issues/item/incidentreport/incident_report_responseable.go
This file was deleted.
Oops, something went wrong.
87 changes: 87 additions & 0 deletions
87
admin/serviceannouncement/messages/archive/archive_post_request_body.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
package archive | ||
|
||
import ( | ||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" | ||
) | ||
|
||
// ArchivePostRequestBody provides operations to call the archive method. | ||
type ArchivePostRequestBody struct { | ||
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. | ||
additionalData map[string]interface{} | ||
// The messageIds property | ||
messageIds []string | ||
} | ||
// NewArchivePostRequestBody instantiates a new archivePostRequestBody and sets the default values. | ||
func NewArchivePostRequestBody()(*ArchivePostRequestBody) { | ||
m := &ArchivePostRequestBody{ | ||
} | ||
m.SetAdditionalData(make(map[string]interface{})); | ||
return m | ||
} | ||
// CreateArchivePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value | ||
func CreateArchivePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { | ||
return NewArchivePostRequestBody(), nil | ||
} | ||
// GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. | ||
func (m *ArchivePostRequestBody) GetAdditionalData()(map[string]interface{}) { | ||
if m == nil { | ||
return nil | ||
} else { | ||
return m.additionalData | ||
} | ||
} | ||
// GetFieldDeserializers the deserialization information for the current model | ||
func (m *ArchivePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { | ||
res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) | ||
res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { | ||
val, err := n.GetCollectionOfPrimitiveValues("string") | ||
if err != nil { | ||
return err | ||
} | ||
if val != nil { | ||
res := make([]string, len(val)) | ||
for i, v := range val { | ||
res[i] = *(v.(*string)) | ||
} | ||
m.SetMessageIds(res) | ||
} | ||
return nil | ||
} | ||
return res | ||
} | ||
// GetMessageIds gets the messageIds property value. The messageIds property | ||
func (m *ArchivePostRequestBody) GetMessageIds()([]string) { | ||
if m == nil { | ||
return nil | ||
} else { | ||
return m.messageIds | ||
} | ||
} | ||
// Serialize serializes information the current object | ||
func (m *ArchivePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { | ||
if m.GetMessageIds() != nil { | ||
err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) | ||
if err != nil { | ||
return err | ||
} | ||
} | ||
{ | ||
err := writer.WriteAdditionalData(m.GetAdditionalData()) | ||
if err != nil { | ||
return err | ||
} | ||
} | ||
return nil | ||
} | ||
// SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. | ||
func (m *ArchivePostRequestBody) SetAdditionalData(value map[string]interface{})() { | ||
if m != nil { | ||
m.additionalData = value | ||
} | ||
} | ||
// SetMessageIds sets the messageIds property value. The messageIds property | ||
func (m *ArchivePostRequestBody) SetMessageIds(value []string)() { | ||
if m != nil { | ||
m.messageIds = value | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
admin/serviceannouncement/messages/archive/archive_post_request_bodyable.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package archive | ||
|
||
import ( | ||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" | ||
) | ||
|
||
// ArchivePostRequestBodyable | ||
type ArchivePostRequestBodyable interface { | ||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder | ||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable | ||
GetMessageIds()([]string) | ||
SetMessageIds(value []string)() | ||
} |
Oops, something went wrong.